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.001055/0.001055, 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.001194/0.001194, allocations: 165 kB / 23.01 MB, free: 1.551 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.061/1.061, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7948/0.7948, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.293e-06/1.293e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.895e-05, allocations: 3.281 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004313/0.004332, allocations: 4.861 MB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.006317, allocations: 2.833 MB / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.006397, allocations: 0 / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.00666, allocations: 47.69 kB / 0.5279 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.006915, allocations: 117.7 kB / 0.528 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.00794, allocations: 0.5603 MB / 0.5286 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.008156, allocations: 248.5 kB / 0.5288 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.008196, allocations: 13.81 kB / 0.5288 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.008378, allocations: 167 kB / 0.529 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.008482, allocations: 79.77 kB / 0.529 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.008504, allocations: 8 kB / 0.5291 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.008942, allocations: 323.2 kB / 0.5294 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.009008, allocations: 43.83 kB / 0.5294 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.009065, allocations: 59.89 kB / 0.5295 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.009478, allocations: 362.8 kB / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00948, allocations: 4 kB / 0.5298 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.009481, allocations: 2.719 kB / 0.5298 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.009485, allocations: 0 / 0.5298 GB, free: 8.492 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.0005566/0.01004, allocations: 0.5348 MB / 0.5303 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01008, allocations: 16.02 kB / 0.5303 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.01021, allocations: 40.78 kB / 0.5304 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.01037, allocations: 164.3 kB / 0.5305 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.01039, allocations: 9.297 kB / 0.5306 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.01041, allocations: 20.38 kB / 0.5306 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.0107, allocations: 427.6 kB / 0.531 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01071, allocations: 192 / 0.531 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.01073, allocations: 16.12 kB / 0.531 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.01076, allocations: 8.594 kB / 0.531 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.01101, allocations: 297.5 kB / 0.5313 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.01177, allocations: 0.9831 MB / 0.5322 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.01198, allocations: 147.3 kB / 0.5324 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.01204, allocations: 48.41 kB / 0.5324 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.0125, allocations: 0.5322 MB / 0.533 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01253, allocations: 37.39 kB / 0.533 GB, free: 5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01253, allocations: 0.5312 kB / 0.533 GB, free: 5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002296/0.01276, allocations: 135.8 kB / 0.5331 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.01278, allocations: 55.41 kB / 0.5332 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.01288, allocations: 213.8 kB / 0.5334 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.0129, allocations: 25.7 kB / 0.5334 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.01297, allocations: 195.9 kB / 0.5336 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.013, allocations: 59.52 kB / 0.5336 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.01305, allocations: 55.36 kB / 0.5337 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01316, allocations: 0.5009 MB / 0.5342 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-05/0.0132, allocations: 19.98 kB / 0.5342 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.0133, allocations: 176.8 kB / 0.5344 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.01347, allocations: 228.1 kB / 0.5346 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01348, allocations: 2.438 kB / 0.5346 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002212/0.0137, allocations: 216.8 kB / 0.5348 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01371, allocations: 9.969 kB / 0.5348 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.01372, allocations: 5.75 kB / 0.5348 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.01374, allocations: 8 kB / 0.5348 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01384, allocations: 59.91 kB / 0.5349 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01385, allocations: 4 kB / 0.5349 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.01391, allocations: 21.09 kB / 0.5349 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01392, allocations: 16 kB / 0.5349 GB, free: 2.832 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 8.014e-05/0.014, allocations: 177.2 kB / 0.5351 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.01403, allocations: 19.91 kB / 0.5351 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.01422, allocations: 142.2 kB / 0.5352 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.01423, allocations: 5.203 kB / 0.5352 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01423, allocations: 4 kB / 0.5353 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01424, allocations: 0 / 0.5353 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.01437, allocations: 169.4 kB / 0.5354 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01437, allocations: 0 / 0.5354 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.01444, allocations: 32.64 kB / 0.5354 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01444, allocations: 0 / 0.5354 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01445, allocations: 5.281 kB / 0.5354 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01445, allocations: 0 / 0.5354 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01445, allocations: 0 / 0.5354 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01462, allocations: 265.6 kB / 0.5357 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.01466, allocations: 36.33 kB / 0.5357 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.01467, allocations: 0.6875 kB / 0.5357 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.01476, allocations: 13.25 kB / 0.5358 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.01478, allocations: 11.97 kB / 0.5358 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01479, allocations: 11.98 kB / 0.5358 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.01484, allocations: 158.5 kB / 0.5359 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01484, allocations: 0.625 kB / 0.5359 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002558/0.0151, allocations: 76.38 kB / 0.536 GB, free: 1.668 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.0002211/0.01532, allocations: 191.5 kB / 0.5362 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.0155, allocations: 113.5 kB / 0.5363 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01551, allocations: 0.625 kB / 0.5363 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.01555, allocations: 48.5 kB / 0.5363 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.0158, allocations: 51.72 kB / 0.5364 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.01651, allocations: 319.8 kB / 0.5367 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.01655, allocations: 76.08 kB / 0.5368 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.575e-05/0.01664, allocations: 34.2 kB / 0.5368 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.01668, allocations: 30.89 kB / 0.5368 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.01668, allocations: 0 / 0.5368 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of Templates: time 0.004396/0.02107, allocations: 3.05 MB / 0.5398 GB, free: 13.92 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: 3.964657612144947]