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.002259/0.002259, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002892/0.002892, allocations: 159.3 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.572/1.572, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.242/1.242, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.209e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005253/0.005285, allocations: 3.231 MB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.005398, allocations: 51.75 kB / 0.6218 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.005425, allocations: 0 / 0.6218 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.005546, allocations: 7.922 kB / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.005631, allocations: 15.94 kB / 0.6218 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.006236, allocations: 191.1 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.006329, allocations: 35.84 kB / 0.622 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.006375, allocations: 4 kB / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.006436, allocations: 19.92 kB / 0.6221 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.006512, allocations: 15.97 kB / 0.6221 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.006526, allocations: 4 kB / 0.6221 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.006827, allocations: 139.5 kB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.006875, allocations: 0 / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.006903, allocations: 7.984 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.007183, allocations: 135.6 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.007187, allocations: 0 / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.32e-07/0.007187, allocations: 0 / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.007192, allocations: 0 / 0.6223 GB, free: 0.6992 MB / 0.5294 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.0004635/0.007655, allocations: 266.3 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.007698, allocations: 12.03 kB / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.00774, allocations: 8.938 kB / 0.6226 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.007849, allocations: 109.7 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.007939, allocations: 59.95 kB / 0.6228 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.007948, allocations: 384 / 0.6228 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.008207, allocations: 63.95 kB / 0.6228 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.008217, allocations: 4.188 kB / 0.6228 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.008231, allocations: 3.938 kB / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.008254, allocations: 3.938 kB / 0.6229 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.008311, allocations: 19.92 kB / 0.6229 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.00891, allocations: 244.5 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/0.00897, allocations: 18.58 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.008991, allocations: 8.797 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.009096, allocations: 40.02 kB / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.009139, allocations: 34.56 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.00914, allocations: 0 / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.009305, allocations: 37.62 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.009348, allocations: 55.34 kB / 0.6233 GB, free: 15.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.009456, allocations: 105.8 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.009478, allocations: 29.83 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.009539, allocations: 84.09 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.009549, allocations: 7.953 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.009587, allocations: 17.72 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.00974, allocations: 314.8 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.009757, allocations: 4 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.009794, allocations: 17.72 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.009832, allocations: 17.66 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009833, allocations: 0 / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.364e-05/0.009917, allocations: 57.62 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.009932, allocations: 4 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.009936, allocations: 0 / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.009953, allocations: 3.938 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.01, allocations: 11.98 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01001, allocations: 0 / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.01003, allocations: 3.938 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.01004, allocations: 4 kB / 0.6239 GB, free: 14.86 MB / 0.545 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 9.182e-05/0.01013, allocations: 109.8 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.01016, allocations: 4 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.01028, allocations: 127.5 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.961e-05/0.01037, allocations: 188.2 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-05/0.01047, allocations: 176.3 kB / 0.6245 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-05/0.01055, allocations: 180.2 kB / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.0108, allocations: 360.8 kB / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.656e-05/0.01086, allocations: 105 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.01091, allocations: 104.9 kB / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.722e-05/0.011, allocations: 180.2 kB / 0.6254 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/0.0111, allocations: 188.2 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.151e-05/0.01118, allocations: 180.3 kB / 0.6258 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001029/0.01128, allocations: 180.3 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.01147, allocations: 311.8 kB / 0.6262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.01154, allocations: 112.8 kB / 0.6263 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.01165, allocations: 180.3 kB / 0.6265 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.01181, allocations: 105 kB / 0.6266 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.01191, allocations: 188.2 kB / 0.6268 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.01196, allocations: 101 kB / 0.6269 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.01203, allocations: 79.28 kB / 0.627 GB, free: 11.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01203, allocations: 4 kB / 0.627 GB, free: 11.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002765/0.0123, allocations: 35.86 kB / 0.627 GB, free: 11.55 MB / 0.545 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.0003302/0.01263, allocations: 230.4 kB / 0.6272 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.804e-05/0.01271, allocations: 19.88 kB / 0.6272 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01271, allocations: 4.125 kB / 0.6272 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01272, allocations: 0 / 0.6272 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.01325, allocations: 463.2 kB / 0.6277 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.01355, allocations: 176.1 kB / 0.6279 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.01361, allocations: 59.34 kB / 0.6279 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.01365, allocations: 6.672 kB / 0.6279 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.01367, allocations: 12.5 kB / 0.6279 GB, free: 10.54 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.01367, allocations: 3.938 kB / 0.6279 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Templates: time 0.004469/0.01814, allocations: 1.265 MB / 0.6292 GB, free: 9.324 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.242593877017498] Failed to read output from testmodel.py, exit status != 0: 0.02719920128583908 0.041064212 0.030915737000000002 Calling exit ...