Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0007437/0.0007437, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002012, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006856/0.0006856, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008636/0.001549, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.996/0.996, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09603/1.092, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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-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 0.7407/0.7407, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.309/1.05, allocations: 49.04 MB / 447.8 MB, free: 6.586 MB / 426.7 MB " [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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.427e-05, allocations: 2.312 kB / 449.1 MB, free: 5.285 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003725/0.003739, allocations: 3.909 MB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.003875, allocations: 155 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.306e-05/0.003888, allocations: 0 / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.003927, allocations: 13.38 kB / 453.2 MB, free: 1.262 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.003969, allocations: 11.48 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.00413, allocations: 88.11 kB / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.004188, allocations: 36.73 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.394e-05/0.004212, allocations: 0 / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.004258, allocations: 31.84 kB / 453.4 MB, free: 1.113 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.004303, allocations: 11.98 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.004312, allocations: 0 / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.004635, allocations: 195.4 kB / 453.6 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.004662, allocations: 4 kB / 453.6 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.004677, allocations: 12.56 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.004784, allocations: 59.81 kB / 453.7 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.004794, allocations: 0.5625 kB / 453.7 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004794, allocations: 0.625 kB / 453.7 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.004804, allocations: 0 / 453.7 MB, free: 0.8398 MB / 426.7 MB 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.0002498/0.005054, allocations: 239.3 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.005082, allocations: 12.97 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.005105, allocations: 4.938 kB / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.465e-05/0.00517, allocations: 109.8 kB / 454 MB, free: 448 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.005208, allocations: 53.69 kB / 454.1 MB, free: 384 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.005219, allocations: 4.375 kB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.231e-05/0.005301, allocations: 79.42 kB / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.005307, allocations: 192 / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.005313, allocations: 4.844 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.005331, allocations: 7.984 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.005346, allocations: 5.703 kB / 454.2 MB, free: 268 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.005536, allocations: 162 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.766e-05/0.005564, allocations: 23.89 kB / 454.3 MB, free: 56 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-06/0.005571, allocations: 4.859 kB / 454.3 MB, free: 48 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.005594, allocations: 8 kB / 454.4 MB, free: 40 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.005626, allocations: 39.16 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.005627, allocations: 0 / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 6.811e-05/0.005695, allocations: 39.83 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.005732, allocations: 51.41 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.005796, allocations: 111.7 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005807, allocations: 25.7 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.005837, allocations: 88.08 kB / 454.7 MB, free: 15.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.005841, allocations: 5.141 kB / 454.7 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.005864, allocations: 17.72 kB / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.005939, allocations: 314.8 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-06/0.005946, allocations: 4.656 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.005962, allocations: 17.7 kB / 455.1 MB, free: 15.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.005983, allocations: 22.05 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005985, allocations: 0 / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.174e-05/0.006027, allocations: 43.12 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006039, allocations: 11.94 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.006042, allocations: 0 / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.006051, allocations: 0.6562 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.704e-05/0.006078, allocations: 9.797 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.00608, allocations: 4 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.006091, allocations: 0 / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.006097, allocations: 0 / 455.1 MB, free: 15.18 MB / 442.7 MB 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 4.589e-05/0.006143, allocations: 117.2 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.006155, allocations: 4.531 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.006235, allocations: 141 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/0.006274, allocations: 176.3 kB / 455.6 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-05/0.006315, allocations: 184.2 kB / 455.8 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/0.006356, allocations: 182.8 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.006472, allocations: 318.4 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/0.006502, allocations: 104.9 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.006527, allocations: 110.1 kB / 456.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.006556, allocations: 104.9 kB / 456.6 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.79e-05/0.006604, allocations: 184.2 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.006646, allocations: 181 kB / 456.9 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.044e-05/0.006687, allocations: 184.2 kB / 457.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-05/0.006727, allocations: 184.3 kB / 457.3 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/0.006814, allocations: 304.3 kB / 457.6 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.006864, allocations: 186.2 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.00694, allocations: 112.8 kB / 457.9 MB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.006983, allocations: 180.3 kB / 458 MB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.00701, allocations: 108.9 kB / 458.1 MB, free: 12.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.271e-05/0.007023, allocations: 12.86 kB / 458.2 MB, free: 12 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007023, allocations: 0 / 458.2 MB, free: 12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001233/0.007146, allocations: 16.81 kB / 458.2 MB, free: 11.99 MB / 442.7 MB 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.000113/0.007259, allocations: 177.1 kB / 458.3 MB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.034e-05/0.007299, allocations: 12.84 kB / 458.4 MB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.007302, allocations: 0 / 458.4 MB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.007305, allocations: 5.375 kB / 458.4 MB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.007521, allocations: 0.5069 MB / 458.9 MB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.008111, allocations: 198 kB / 459.1 MB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.541e-05/0.008137, allocations: 51.36 kB / 459.1 MB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.008159, allocations: 9.719 kB / 459.1 MB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.008213, allocations: 63.34 kB / 459.2 MB, free: 10.91 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008214, allocations: 0 / 459.2 MB, free: 10.91 MB / 442.7 MB Notification: Performance of Templates: time 0.001767/0.009981, allocations: 0.7765 MB / 460 MB, free: 10.19 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4653372783213854]