Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001806/0.001806, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 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.001983/0.001983, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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-545:108: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-545:116: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.326/1.326, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.784e-05/4.008e-05, allocations: 4 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007573/0.007613, allocations: 4.123 MB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.007899, allocations: 168.8 kB / 0.5238 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.007936, allocations: 1.344 kB / 0.5238 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.008086, allocations: 0 / 0.5238 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.008188, allocations: 15.91 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.008631, allocations: 83.59 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.008745, allocations: 35.84 kB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.008793, allocations: 0 / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.008876, allocations: 31.84 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.008967, allocations: 11.98 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.008986, allocations: 0 / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.009204, allocations: 47.81 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.009275, allocations: 12.55 kB / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.009317, allocations: 7.984 kB / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.009513, allocations: 64.31 kB / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.009518, allocations: 0.8438 kB / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.679e-06/0.009523, allocations: 4 kB / 0.5241 GB, free: 14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.00953, allocations: 0.5 kB / 0.5241 GB, free: 14 MB / 0.4948 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.0006033/0.01013, allocations: 361.8 kB / 0.5244 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.01018, allocations: 8.031 kB / 0.5244 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.01025, allocations: 4.938 kB / 0.5244 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.01042, allocations: 112.6 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.01052, allocations: 56.91 kB / 0.5246 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.01054, allocations: 4.359 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.01072, allocations: 69.3 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01073, allocations: 192 / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.01075, allocations: 3.938 kB / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.01078, allocations: 0 / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.01084, allocations: 18.95 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.01145, allocations: 263.8 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.01152, allocations: 23.06 kB / 0.525 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.01154, allocations: 11.62 kB / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/0.0116, allocations: 12 kB / 0.525 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.01165, allocations: 37.38 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.01165, allocations: 0 / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001987/0.01185, allocations: 40.45 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.0119, allocations: 51.41 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01204, allocations: 165.9 kB / 0.5253 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01206, allocations: 25.7 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01217, allocations: 134.8 kB / 0.5254 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.01218, allocations: 3.953 kB / 0.5254 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.01223, allocations: 23.94 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002935/0.01252, allocations: 0.4884 MB / 0.5259 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.01254, allocations: 9.156 kB / 0.5259 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.01258, allocations: 19.38 kB / 0.526 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.01263, allocations: 27.97 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01263, allocations: 0.5 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.082e-05/0.01272, allocations: 55.34 kB / 0.526 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01274, allocations: 4 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01274, allocations: 4 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01276, allocations: 0 / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.01281, allocations: 10.42 kB / 0.5261 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01282, allocations: 0 / 0.5261 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.01284, allocations: 4 kB / 0.5261 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.01285, allocations: 0 / 0.5261 GB, free: 11.76 MB / 0.4948 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 0.0001214/0.01297, allocations: 156.6 kB / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.01299, allocations: 3.938 kB / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.01319, allocations: 178.1 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001435/0.01334, allocations: 264.1 kB / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001545/0.01349, allocations: 272.1 kB / 0.5269 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001461/0.01364, allocations: 268.1 kB / 0.5271 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.01401, allocations: 499.9 kB / 0.5276 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-05/0.01409, allocations: 148.8 kB / 0.5278 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.01417, allocations: 145.9 kB / 0.5279 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.01433, allocations: 280 kB / 0.5282 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.0145, allocations: 265 kB / 0.5284 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001691/0.01466, allocations: 268.1 kB / 0.5287 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001649/0.01483, allocations: 272 kB / 0.5289 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.01514, allocations: 450.6 kB / 0.5294 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.01525, allocations: 157.1 kB / 0.5295 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.01543, allocations: 268 kB / 0.5298 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.01563, allocations: 148.9 kB / 0.5299 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.01581, allocations: 264.1 kB / 0.5302 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.01591, allocations: 160.8 kB / 0.5303 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001031/0.01601, allocations: 131.2 kB / 0.5304 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01601, allocations: 3.844 kB / 0.5305 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002596/0.01627, allocations: 15.94 kB / 0.5305 GB, free: 7.055 MB / 0.4948 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.0004486/0.01672, allocations: 234.3 kB / 0.5307 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.756e-05/0.01682, allocations: 23.67 kB / 0.5307 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01682, allocations: 0 / 0.5307 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.01683, allocations: 3.938 kB / 0.5307 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.01746, allocations: 0.708 MB / 0.5314 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.01782, allocations: 228.7 kB / 0.5316 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.01789, allocations: 59.34 kB / 0.5317 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01794, allocations: 4 kB / 0.5317 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.01797, allocations: 12.5 kB / 0.5317 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.01797, allocations: 1.562 kB / 0.5317 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.003696/0.02167, allocations: 0.6728 MB / 0.5324 GB, free: 5.094 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.208596786018461]