Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001329/0.001329, 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.001674/0.001674, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9494/0.9494, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7091/0.7091, allocations: 154.6 MB / 413.8 MB, free: 0.8242 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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.508e-05, allocations: 6.609 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003375/0.0034, allocations: 3.226 MB / 0.6213 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 7.171e-05/0.003471, allocations: 47.81 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.003494, allocations: 0 / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003601, allocations: 11.86 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.003673, allocations: 7.938 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.004156, allocations: 199.1 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.00423, allocations: 39.84 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.004263, allocations: 0 / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.004309, allocations: 19.98 kB / 0.6216 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.004373, allocations: 15.91 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.004386, allocations: 4 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.004596, allocations: 135.5 kB / 0.6217 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.004641, allocations: 7.922 kB / 0.6217 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.00466, allocations: 8 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004849, allocations: 131.7 kB / 0.6219 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004852, allocations: 0 / 0.6219 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004852, allocations: 0 / 0.6219 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.004856, allocations: 0 / 0.6219 GB, free: 9.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003322/0.005188, allocations: 274.1 kB / 0.6221 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.00523, allocations: 12.03 kB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.005258, allocations: 34.73 kB / 0.6222 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.005286, allocations: 0.9375 kB / 0.6222 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.005357, allocations: 113.8 kB / 0.6223 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.005413, allocations: 51.97 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.005419, allocations: 384 / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005531, allocations: 75.94 kB / 0.6224 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005538, allocations: 3.938 kB / 0.6224 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.005547, allocations: 0 / 0.6224 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.005563, allocations: 0 / 0.6224 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.005599, allocations: 15.98 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.006009, allocations: 267.9 kB / 0.6227 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.006043, allocations: 14.58 kB / 0.6227 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.006055, allocations: 12.86 kB / 0.6227 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.006109, allocations: 39.91 kB / 0.6227 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.006128, allocations: 34.56 kB / 0.6228 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.006129, allocations: 0 / 0.6228 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.006241, allocations: 37.64 kB / 0.6228 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.006267, allocations: 55.41 kB / 0.6229 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.006325, allocations: 105.8 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.006336, allocations: 25.7 kB / 0.623 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.006374, allocations: 88.09 kB / 0.6231 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.006378, allocations: 8.078 kB / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.006404, allocations: 21.7 kB / 0.6231 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.00648, allocations: 310.8 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.006491, allocations: 4 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.006508, allocations: 13.72 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.006539, allocations: 33.58 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.00654, allocations: 0 / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.533e-05/0.006585, allocations: 45.97 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.006596, allocations: 8.062 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006601, allocations: 0 / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.006612, allocations: 4 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.582e-05/0.006648, allocations: 7.938 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006653, allocations: 0 / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.006665, allocations: 3.984 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.006672, allocations: 4 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.126e-05/0.006723, allocations: 114.8 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.006738, allocations: 7.953 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.006831, allocations: 124.9 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/0.006868, allocations: 180.2 kB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-05/0.006908, allocations: 176.3 kB / 0.6241 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/0.006948, allocations: 192.2 kB / 0.6243 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.007083, allocations: 372.2 kB / 0.6246 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/0.007113, allocations: 105 kB / 0.6247 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.007137, allocations: 112.9 kB / 0.6248 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-05/0.007175, allocations: 180.3 kB / 0.625 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.007214, allocations: 180.2 kB / 0.6252 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.478e-05/0.007249, allocations: 176.3 kB / 0.6253 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.603e-05/0.007285, allocations: 184.2 kB / 0.6255 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.007386, allocations: 319.7 kB / 0.6258 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.007412, allocations: 104.9 kB / 0.6259 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.007457, allocations: 180.3 kB / 0.6261 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.007547, allocations: 109 kB / 0.6262 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.007588, allocations: 180.2 kB / 0.6264 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.007611, allocations: 101 kB / 0.6265 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.007642, allocations: 91.27 kB / 0.6266 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007642, allocations: 0 / 0.6266 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001881/0.00783, allocations: 39.81 kB / 0.6266 GB, free: 4.539 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.0003732/0.008204, allocations: 0.8671 MB / 0.6274 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.132e-05/0.008255, allocations: 4 kB / 0.6274 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008256, allocations: 3.938 kB / 0.6274 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.008258, allocations: 4.125 kB / 0.6274 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.008544, allocations: 473.6 kB / 0.6279 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.009251, allocations: 1.328 MB / 0.6292 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.009292, allocations: 63.33 kB / 0.6293 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.009324, allocations: 6.531 kB / 0.6293 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.009344, allocations: 8.5 kB / 0.6293 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.009345, allocations: 4 kB / 0.6293 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.02388, allocations: 2.832 MB / 0.632 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.071, allocations: 6.312 kB / 0.632 GB, free: 15.02 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.964442901313305] Failed to read output from testmodel.py, exit status != 0: 7.150659996084869 7.160763132 7.154204162 Calling exit ...