Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001108/0.001108, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001019/0.001019, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9587/0.9587, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7937/0.7937, allocations: 154.9 MB / 415.1 MB, free: 248 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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.7656 kB / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.403e-05, allocations: 4.141 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001791/0.001805, allocations: 1.426 MB / 0.5225 GB, free: 156 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.004458, allocations: 2.966 MB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.004508, allocations: 0.6875 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.773e-05/0.004586, allocations: 13.2 kB / 0.5254 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.004683, allocations: 43.69 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.005154, allocations: 196.5 kB / 0.5256 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.005334, allocations: 243.4 kB / 0.5259 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.005364, allocations: 4.5 kB / 0.5259 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.005459, allocations: 127 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.005552, allocations: 111.8 kB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.005576, allocations: 12 kB / 0.5261 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.00584, allocations: 147.7 kB / 0.5262 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.005904, allocations: 95.84 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.005962, allocations: 79.81 kB / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.006219, allocations: 299.1 kB / 0.5267 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006222, allocations: 4 kB / 0.5267 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.71e-07/0.006222, allocations: 0 / 0.5267 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.006225, allocations: 3.031 kB / 0.5267 GB, free: 11.84 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004985/0.006724, allocations: 0.562 MB / 0.5273 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.006757, allocations: 8.031 kB / 0.5273 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.006859, allocations: 42.28 kB / 0.5273 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.007, allocations: 168.4 kB / 0.5275 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.007033, allocations: 20.36 kB / 0.5275 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.007049, allocations: 16.38 kB / 0.5275 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.007249, allocations: 172.1 kB / 0.5277 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.007257, allocations: 4.188 kB / 0.5277 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.00727, allocations: 9.156 kB / 0.5277 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.007276, allocations: 7.938 kB / 0.5277 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.007565, allocations: 336 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.008003, allocations: 177.5 kB / 0.5282 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.008498, allocations: 443.6 kB / 0.5286 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.008578, allocations: 76.58 kB / 0.5287 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.008746, allocations: 86.67 kB / 0.5288 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.008769, allocations: 45.14 kB / 0.5288 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.00877, allocations: 0 / 0.5288 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0003354/0.009106, allocations: 274.7 kB / 0.5291 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.00913, allocations: 55.41 kB / 0.5291 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.009203, allocations: 184.6 kB / 0.5293 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.009218, allocations: 33.7 kB / 0.5293 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.009258, allocations: 143.5 kB / 0.5295 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.009481, allocations: 131.9 kB / 0.5296 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.009542, allocations: 75.08 kB / 0.5297 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.009663, allocations: 0.504 MB / 0.5301 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.009723, allocations: 48.91 kB / 0.5302 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.009782, allocations: 47.95 kB / 0.5302 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.009906, allocations: 114.5 kB / 0.5303 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.009908, allocations: 3.938 kB / 0.5303 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002223/0.01013, allocations: 201.3 kB / 0.5305 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.01014, allocations: 4 kB / 0.5305 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01014, allocations: 1.281 kB / 0.5305 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.01015, allocations: 4 kB / 0.5305 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.01033, allocations: 100.5 kB / 0.5306 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01034, allocations: 4.562 kB / 0.5307 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.01042, allocations: 53.34 kB / 0.5307 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01044, allocations: 7.984 kB / 0.5307 GB, free: 7.562 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 7.58e-05/0.01051, allocations: 177.4 kB / 0.5309 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01054, allocations: 27.91 kB / 0.5309 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.01081, allocations: 263.8 kB / 0.5312 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01082, allocations: 4.594 kB / 0.5312 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01082, allocations: 0 / 0.5312 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01082, allocations: 8.516 kB / 0.5312 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.01097, allocations: 177.1 kB / 0.5313 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01097, allocations: 0.5 kB / 0.5313 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.01113, allocations: 109.7 kB / 0.5314 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01113, allocations: 0 / 0.5314 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01115, allocations: 8 kB / 0.5315 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01115, allocations: 8.625 kB / 0.5315 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01115, allocations: 5.109 kB / 0.5315 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.0114, allocations: 267.9 kB / 0.5317 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.01141, allocations: 19.83 kB / 0.5317 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.01142, allocations: 10.44 kB / 0.5317 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.0115, allocations: 35.97 kB / 0.5318 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.01157, allocations: 47.67 kB / 0.5318 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01158, allocations: 7.984 kB / 0.5318 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.01162, allocations: 135.2 kB / 0.532 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01162, allocations: 2.469 kB / 0.532 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002203/0.01184, allocations: 119.7 kB / 0.5321 GB, free: 6.109 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 (37): * Single equations (assignments): 37 * 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.0002079/0.01205, allocations: 200.7 kB / 0.5323 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01226, allocations: 187.6 kB / 0.5325 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01226, allocations: 0 / 0.5325 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.01237, allocations: 128.8 kB / 0.5326 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.01261, allocations: 102.5 kB / 0.5327 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.01318, allocations: 360.4 kB / 0.533 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.891e-05/0.01323, allocations: 88.81 kB / 0.5331 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000135/0.01337, allocations: 71.22 kB / 0.5332 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.01354, allocations: 154.1 kB / 0.5333 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01354, allocations: 0 / 0.5333 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.007394/0.02093, allocations: 6.448 MB / 0.5396 GB, free: 14.63 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9564831918105483]