Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.001501/0.001501, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001766/0.001766, allocations: 173 kB / 23.49 MB, free: 1.059 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.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.7959/0.7959, allocations: 154.6 MB / 414.9 MB, free: 0.6953 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 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.688e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004521/0.004548, allocations: 4.849 MB / 0.5251 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.006496, allocations: 2.815 MB / 0.5278 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.006564, allocations: 4 kB / 0.5278 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.006795, allocations: 43.69 kB / 0.5279 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.006992, allocations: 99.3 kB / 0.528 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.007711, allocations: 0.5322 MB / 0.5285 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.007898, allocations: 247.8 kB / 0.5287 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.007938, allocations: 9.812 kB / 0.5287 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.008123, allocations: 159.5 kB / 0.5289 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.008229, allocations: 83.7 kB / 0.529 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.00825, allocations: 10.44 kB / 0.529 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.008617, allocations: 303.2 kB / 0.5293 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.00868, allocations: 47.81 kB / 0.5293 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.008738, allocations: 59.89 kB / 0.5294 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.009126, allocations: 362.8 kB / 0.5297 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.00913, allocations: 0 / 0.5297 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009131, allocations: 7.938 kB / 0.5297 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.009135, allocations: 1.562 kB / 0.5297 GB, free: 8.922 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005994/0.009735, allocations: 0.5387 MB / 0.5303 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.009769, allocations: 8.031 kB / 0.5303 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.009914, allocations: 41.81 kB / 0.5303 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.01009, allocations: 160.3 kB / 0.5305 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.0101, allocations: 17.73 kB / 0.5305 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.01012, allocations: 20.38 kB / 0.5305 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.01041, allocations: 426.2 kB / 0.5309 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01042, allocations: 5.531 kB / 0.5309 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.01044, allocations: 20.11 kB / 0.5309 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.01047, allocations: 8 kB / 0.5309 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.01071, allocations: 288.8 kB / 0.5312 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.01146, allocations: 0.987 MB / 0.5322 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.01168, allocations: 140 kB / 0.5323 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.01174, allocations: 52.33 kB / 0.5324 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.0122, allocations: 0.5324 MB / 0.5329 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.01223, allocations: 37.39 kB / 0.5329 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.01223, allocations: 0.9688 kB / 0.5329 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002226/0.01245, allocations: 131.2 kB / 0.533 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.01248, allocations: 55.91 kB / 0.5331 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.01258, allocations: 214.4 kB / 0.5333 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.0126, allocations: 29.64 kB / 0.5333 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.01267, allocations: 195.4 kB / 0.5335 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.01269, allocations: 55.53 kB / 0.5336 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.01274, allocations: 56.02 kB / 0.5336 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01285, allocations: 0.5045 MB / 0.5341 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.01289, allocations: 23.98 kB / 0.5341 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01299, allocations: 172.2 kB / 0.5343 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.01315, allocations: 225.2 kB / 0.5345 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01315, allocations: 2.281 kB / 0.5345 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002059/0.01336, allocations: 214.9 kB / 0.5347 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.01337, allocations: 4 kB / 0.5347 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01338, allocations: 9.266 kB / 0.5347 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01339, allocations: 4 kB / 0.5347 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.0135, allocations: 63.86 kB / 0.5348 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01351, allocations: 9.547 kB / 0.5348 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.01357, allocations: 23.84 kB / 0.5348 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01358, allocations: 12 kB / 0.5348 GB, free: 3.262 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.98e-05/0.01366, allocations: 177 kB / 0.535 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01369, allocations: 27.84 kB / 0.535 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.01388, allocations: 137.3 kB / 0.5352 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01388, allocations: 0 / 0.5352 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01389, allocations: 4 kB / 0.5352 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01389, allocations: 0.9375 kB / 0.5352 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.01403, allocations: 176.4 kB / 0.5353 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01403, allocations: 2.469 kB / 0.5353 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.01408, allocations: 27.98 kB / 0.5354 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.01408, allocations: 0 / 0.5354 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.01409, allocations: 8 kB / 0.5354 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.0141, allocations: 4 kB / 0.5354 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0141, allocations: 0 / 0.5354 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.01425, allocations: 260.6 kB / 0.5356 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.01429, allocations: 31.81 kB / 0.5357 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01431, allocations: 7.984 kB / 0.5357 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.01439, allocations: 13.3 kB / 0.5357 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.01441, allocations: 11.98 kB / 0.5357 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01442, allocations: 7.984 kB / 0.5357 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.01448, allocations: 155.9 kB / 0.5358 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01448, allocations: 0 / 0.5358 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002354/0.01471, allocations: 79.86 kB / 0.5359 GB, free: 2.094 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002402/0.01495, allocations: 182.9 kB / 0.5361 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.01511, allocations: 119.8 kB / 0.5362 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01512, allocations: 0 / 0.5362 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.01516, allocations: 43.61 kB / 0.5363 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.0154, allocations: 52.92 kB / 0.5363 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.01609, allocations: 327.3 kB / 0.5366 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.01614, allocations: 75.58 kB / 0.5367 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.01623, allocations: 44.72 kB / 0.5367 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.01626, allocations: 24.5 kB / 0.5368 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.01626, allocations: 0 / 0.5368 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of Templates: time 0.008339/0.0246, allocations: 3.142 MB / 0.5398 GB, free: 14.25 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.00795326102525]