Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009564/0.0009564, allocations: 93.06 kB / 19.65 MB, free: 276 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.00101/0.00101, allocations: 169 kB / 23.02 MB, free: 1.543 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8007/0.8007, allocations: 154.9 MB / 414.8 MB, free: 408 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.688e-05, allocations: 4.422 kB / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004625/0.004652, allocations: 3.845 MB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001618/0.004814, allocations: 160.1 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.004835, allocations: 0 / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.004954, allocations: 5.219 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.005039, allocations: 19.84 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.005381, allocations: 80.91 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.005468, allocations: 36.47 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.005509, allocations: 9.828 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.005574, allocations: 19.92 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.005648, allocations: 7.984 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.005664, allocations: 4 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005586/0.006222, allocations: 211.8 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.006268, allocations: 9.219 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.006293, allocations: 4 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.006438, allocations: 67.78 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.006442, allocations: 0 / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.006444, allocations: 0.5 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.00645, allocations: 2.062 kB / 0.525 GB, free: 13.41 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.000415/0.006865, allocations: 364.2 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.006906, allocations: 8.031 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.006958, allocations: 5.281 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.007053, allocations: 112.6 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.007125, allocations: 58.41 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.007136, allocations: 4.375 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.007276, allocations: 76.66 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.007284, allocations: 192 / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.007294, allocations: 3.938 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.00732, allocations: 0 / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.007349, allocations: 18.09 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.007745, allocations: 255.8 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.007788, allocations: 31.06 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.007804, allocations: 11.62 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.00785, allocations: 4.062 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.007875, allocations: 42.36 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.823e-06/0.007877, allocations: 0 / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.008014, allocations: 38.56 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.008042, allocations: 51.41 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.008122, allocations: 165.2 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.008134, allocations: 25.7 kB / 0.5262 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.008186, allocations: 142.8 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.008193, allocations: 7.953 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.008221, allocations: 19.38 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.008329, allocations: 492.1 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.008345, allocations: 7.984 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.008367, allocations: 19.38 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.008399, allocations: 30.09 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.008402, allocations: 0 / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.775e-05/0.00847, allocations: 49.62 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.008483, allocations: 4 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.008491, allocations: 4 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.008505, allocations: 5.5 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.008551, allocations: 4 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.008557, allocations: 0 / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.008575, allocations: 0 / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.008586, allocations: 9.281 kB / 0.527 GB, free: 11.16 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 6.833e-05/0.008654, allocations: 160.6 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.008673, allocations: 11.89 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.008789, allocations: 160.4 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003422/0.009131, allocations: 272.8 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-05/0.009183, allocations: 268.1 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/0.009244, allocations: 273.3 kB / 0.5281 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.009406, allocations: 491.9 kB / 0.5285 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/0.009442, allocations: 156.9 kB / 0.5287 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.009472, allocations: 148.8 kB / 0.5288 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.406e-05/0.009526, allocations: 273.4 kB / 0.5291 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/0.009582, allocations: 272 kB / 0.5294 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.548e-05/0.009638, allocations: 264.1 kB / 0.5296 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.178e-05/0.0097, allocations: 272.8 kB / 0.5299 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.009819, allocations: 444 kB / 0.5303 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.009858, allocations: 161.3 kB / 0.5305 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.009925, allocations: 269.2 kB / 0.5307 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01003, allocations: 148.9 kB / 0.5308 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.01009, allocations: 272 kB / 0.5311 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.01012, allocations: 145.8 kB / 0.5312 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.01016, allocations: 131.2 kB / 0.5314 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01016, allocations: 0 / 0.5314 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001731/0.01034, allocations: 16.84 kB / 0.5314 GB, free: 6.465 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.0001787/0.01051, allocations: 242.9 kB / 0.5316 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.01059, allocations: 24.3 kB / 0.5316 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0106, allocations: 2.438 kB / 0.5316 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.0106, allocations: 0 / 0.5316 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01093, allocations: 0.7062 MB / 0.5323 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.01138, allocations: 233.6 kB / 0.5326 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.01142, allocations: 58.12 kB / 0.5326 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.01145, allocations: 7.984 kB / 0.5326 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.01148, allocations: 12.5 kB / 0.5326 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.01148, allocations: 0 / 0.5326 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of Templates: time 0.002507/0.01398, allocations: 0.7442 MB / 0.5334 GB, free: 4.43 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.847568844910711]