Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6979/0.6979, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.107e-05, allocations: 5.375 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003803/0.003824, allocations: 3.893 MB / 0.622 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.005539, allocations: 2.227 MB / 0.6241 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.005634, allocations: 0 / 0.6241 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.005913, allocations: 51.62 kB / 0.6242 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.006168, allocations: 103.2 kB / 0.6243 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.007297, allocations: 0.5623 MB / 0.6248 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.007558, allocations: 267.7 kB / 0.6251 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.007597, allocations: 9.812 kB / 0.6251 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.007792, allocations: 155.6 kB / 0.6252 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.007904, allocations: 83.75 kB / 0.6253 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.007924, allocations: 8 kB / 0.6253 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.008484, allocations: 403 kB / 0.6257 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.008564, allocations: 39.89 kB / 0.6258 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.008639, allocations: 67.81 kB / 0.6258 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.009178, allocations: 434.8 kB / 0.6262 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.009181, allocations: 0 / 0.6262 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.657e-06/0.009185, allocations: 3.984 kB / 0.6262 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.00919, allocations: 0 / 0.6262 GB, free: 5.309 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006584/0.009848, allocations: 459.4 kB / 0.6267 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.00989, allocations: 8.031 kB / 0.6267 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.009937, allocations: 54.73 kB / 0.6267 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.01094, allocations: 192.5 kB / 0.6269 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.01119, allocations: 149.6 kB / 0.6271 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.01122, allocations: 16.69 kB / 0.6271 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.01124, allocations: 20.36 kB / 0.6271 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.01172, allocations: 0.4994 MB / 0.6276 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01173, allocations: 12.12 kB / 0.6276 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.01175, allocations: 7.938 kB / 0.6276 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.01177, allocations: 8 kB / 0.6276 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.01218, allocations: 251.6 kB / 0.6279 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.0133, allocations: 1.196 MB / 0.629 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.01372, allocations: 190.7 kB / 0.6292 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.01384, allocations: 76.75 kB / 0.6293 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01386, allocations: 0 / 0.6293 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01388, allocations: 38.56 kB / 0.6293 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.01389, allocations: 0 / 0.6293 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004837/0.01437, allocations: 255.8 kB / 0.6296 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.0144, allocations: 51.41 kB / 0.6296 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.0145, allocations: 165.5 kB / 0.6298 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.01452, allocations: 25.7 kB / 0.6298 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.01458, allocations: 128.3 kB / 0.6299 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.01462, allocations: 63.44 kB / 0.63 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.01468, allocations: 49.92 kB / 0.63 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.01476, allocations: 322.8 kB / 0.6303 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.01489, allocations: 64.42 kB / 0.6304 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01503, allocations: 151 kB / 0.6305 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.01529, allocations: 209.3 kB / 0.6307 GB, free: 348 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.0153, allocations: 0 / 0.6307 GB, free: 348 kB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003356/0.01563, allocations: 259.7 kB / 0.631 GB, free: 84 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01565, allocations: 8 kB / 0.631 GB, free: 76 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01565, allocations: 3.984 kB / 0.631 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01567, allocations: 7.938 kB / 0.631 GB, free: 64 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.01586, allocations: 67.94 kB / 0.6311 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01587, allocations: 4 kB / 0.6311 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01598, allocations: 35.72 kB / 0.6311 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.01599, allocations: 16.22 kB / 0.6311 GB, free: 15.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/0.01608, allocations: 125.8 kB / 0.6312 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.01611, allocations: 23.83 kB / 0.6313 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.01648, allocations: 222.6 kB / 0.6315 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01649, allocations: 4 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01649, allocations: 0 / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.0165, allocations: 3.984 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.01669, allocations: 208.5 kB / 0.6317 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.01669, allocations: 7.922 kB / 0.6317 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.01684, allocations: 55.91 kB / 0.6317 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01684, allocations: 0 / 0.6317 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01685, allocations: 7.984 kB / 0.6317 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01685, allocations: 4 kB / 0.6317 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01686, allocations: 4 kB / 0.6318 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.01718, allocations: 292.5 kB / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.01724, allocations: 35.88 kB / 0.6321 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01726, allocations: 4 kB / 0.6321 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01738, allocations: 15.98 kB / 0.6321 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.0174, allocations: 11.97 kB / 0.6321 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01742, allocations: 12 kB / 0.6321 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.01747, allocations: 111.2 kB / 0.6322 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01747, allocations: 0 / 0.6322 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002534/0.01773, allocations: 63.94 kB / 0.6323 GB, free: 14.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006385/0.01837, allocations: 0.867 MB / 0.6331 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.01869, allocations: 171.8 kB / 0.6333 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01869, allocations: 4 kB / 0.6333 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.01881, allocations: 79.88 kB / 0.6334 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.01912, allocations: 68.28 kB / 0.6334 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.02112, allocations: 2.133 MB / 0.6355 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.0212, allocations: 107.1 kB / 0.6356 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.02138, allocations: 49.92 kB / 0.6357 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.02147, allocations: 56.41 kB / 0.6357 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.02147, allocations: 0 / 0.6357 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.04011, allocations: 6.15 MB / 0.6417 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.538, allocations: 7.062 kB / 0.6417 GB, free: 5.105 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.37448079045862] Failed to read output from testmodel.py, exit status != 0: 7.618910571560264 7.627998492 7.616821299 Calling exit ...