Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 105.8 kB / 16.4 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7797/0.7797, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 62.98 kB / 0.5685 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2015, allocations: 77.93 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006728/0.2083, allocations: 4.707 MB / 0.6492 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2117, allocations: 2.706 MB / 0.6518 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2118, allocations: 0 / 0.6518 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.2122, allocations: 51.69 kB / 0.6519 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.2126, allocations: 95.34 kB / 0.652 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.2144, allocations: 0.5006 MB / 0.6525 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.2147, allocations: 228 kB / 0.6527 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.2147, allocations: 9.562 kB / 0.6527 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.215, allocations: 127.5 kB / 0.6528 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2151, allocations: 87.67 kB / 0.6529 GB, free: 448 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2152, allocations: 8 kB / 0.6529 GB, free: 440 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000841/0.216, allocations: 367.3 kB / 0.6533 GB, free: 72 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2162, allocations: 35.89 kB / 0.6533 GB, free: 36 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2164, allocations: 83.67 kB / 0.6534 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.217, allocations: 366.8 kB / 0.6537 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.217, allocations: 0 / 0.6537 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.217, allocations: 0 / 0.6537 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2171, allocations: 0 / 0.6537 GB, free: 15.59 MB / 0.4981 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.0008566/0.2179, allocations: 0.5064 MB / 0.6542 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.218, allocations: 8.625 kB / 0.6542 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2181, allocations: 28.8 kB / 0.6542 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.2184, allocations: 208.2 kB / 0.6544 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2184, allocations: 12.7 kB / 0.6545 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.2185, allocations: 16.38 kB / 0.6545 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.219, allocations: 248.2 kB / 0.6547 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.219, allocations: 4 kB / 0.6547 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.219, allocations: 8 kB / 0.6547 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.2191, allocations: 11.98 kB / 0.6547 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.2196, allocations: 427.3 kB / 0.6551 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2209, allocations: 0.9489 MB / 0.6561 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.2212, allocations: 171.5 kB / 0.6562 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2213, allocations: 72.14 kB / 0.6563 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/0.223, allocations: 1.821 MB / 0.6581 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.223, allocations: 38.56 kB / 0.6581 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.223, allocations: 4 kB / 0.6581 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003458/0.2234, allocations: 145.4 kB / 0.6583 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2234, allocations: 63.28 kB / 0.6583 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.2236, allocations: 169.4 kB / 0.6585 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2237, allocations: 33.64 kB / 0.6585 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.2238, allocations: 144.1 kB / 0.6586 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.2238, allocations: 55.53 kB / 0.6587 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.2239, allocations: 49.7 kB / 0.6587 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.2241, allocations: 326.8 kB / 0.6591 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.717e-05/0.2242, allocations: 35.97 kB / 0.6591 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2244, allocations: 145.6 kB / 0.6592 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.2247, allocations: 204.3 kB / 0.6594 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2247, allocations: 0 / 0.6594 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000316/0.225, allocations: 209.2 kB / 0.6596 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.2251, allocations: 4.469 kB / 0.6596 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2251, allocations: 11.94 kB / 0.6596 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.2251, allocations: 8 kB / 0.6597 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2253, allocations: 55.86 kB / 0.6597 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2253, allocations: 7.984 kB / 0.6597 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2254, allocations: 27.78 kB / 0.6597 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2255, allocations: 12 kB / 0.6597 GB, free: 8.684 MB / 0.4981 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 0.0001163/0.2256, allocations: 129.7 kB / 0.6599 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.2256, allocations: 15.91 kB / 0.6599 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.2259, allocations: 163 kB / 0.66 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.226, allocations: 3.938 kB / 0.66 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.226, allocations: 8 kB / 0.6601 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.226, allocations: 0 / 0.6601 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.2263, allocations: 217.5 kB / 0.6603 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2263, allocations: 0 / 0.6603 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.2264, allocations: 20 kB / 0.6603 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2264, allocations: 0 / 0.6603 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2264, allocations: 7.984 kB / 0.6603 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2264, allocations: 3.938 kB / 0.6603 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2264, allocations: 4 kB / 0.6603 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.2266, allocations: 225.1 kB / 0.6605 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.2267, allocations: 108.9 kB / 0.6606 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2268, allocations: 11.98 kB / 0.6606 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.227, allocations: 11.94 kB / 0.6606 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.227, allocations: 11.98 kB / 0.6606 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.227, allocations: 11.98 kB / 0.6607 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001285/0.2272, allocations: 128.8 kB / 0.6608 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2272, allocations: 0 / 0.6608 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004065/0.2276, allocations: 83.86 kB / 0.6609 GB, free: 7.449 MB / 0.4981 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.0003405/0.2279, allocations: 182.9 kB / 0.661 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.2282, allocations: 115.8 kB / 0.6611 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2282, allocations: 0 / 0.6611 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.2283, allocations: 47.86 kB / 0.6612 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.2287, allocations: 58.91 kB / 0.6613 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.2296, allocations: 342.7 kB / 0.6616 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.2299, allocations: 0.7127 MB / 0.6623 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.2301, allocations: 49.84 kB / 0.6623 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.2301, allocations: 23.44 kB / 0.6623 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2302, allocations: 0 / 0.6623 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.006999/0.2372, allocations: 3.445 MB / 0.6657 GB, free: 2.457 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)