Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 98.59 kB / 16.27 MB, free: 5.852 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.001371/0.001371, allocations: 187.7 kB / 17.19 MB, free: 5.504 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.485/1.485, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8194/0.8194, allocations: 126.7 MB / 417.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.89 kB / 0.4957 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4476, allocations: 78.85 MB / 0.5727 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00239/0.45, allocations: 1.256 MB / 0.574 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.4533, allocations: 3.256 MB / 0.5771 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.4533, allocations: 0 / 0.5771 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.4534, allocations: 4.5 kB / 0.5772 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.4534, allocations: 5.922 kB / 0.5772 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.4539, allocations: 110.3 kB / 0.5773 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.454, allocations: 35.77 kB / 0.5773 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.454, allocations: 2.031 kB / 0.5773 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.4541, allocations: 20.66 kB / 0.5773 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.4541, allocations: 18.47 kB / 0.5773 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.4542, allocations: 1.938 kB / 0.5773 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.4544, allocations: 81.25 kB / 0.5774 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.4544, allocations: 4.5 kB / 0.5774 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.4545, allocations: 16.97 kB / 0.5774 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.4546, allocations: 71.39 kB / 0.5775 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4546, allocations: 0.6562 kB / 0.5775 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4547, allocations: 1.531 kB / 0.5775 GB, free: 27.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.4547, allocations: 0.625 kB / 0.5775 GB, free: 27.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003338/0.455, allocations: 351.5 kB / 0.5778 GB, free: 27.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4551, allocations: 9.469 kB / 0.5779 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.4552, allocations: 6.484 kB / 0.5779 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.576e-05/0.4552, allocations: 166.7 kB / 0.578 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4553, allocations: 4.188 kB / 0.578 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4553, allocations: 7.094 kB / 0.578 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.4554, allocations: 58.14 kB / 0.5781 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4554, allocations: 0.5938 kB / 0.5781 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4554, allocations: 6.141 kB / 0.5781 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4555, allocations: 0.8125 kB / 0.5781 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.4555, allocations: 19.03 kB / 0.5781 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.4557, allocations: 168.2 kB / 0.5783 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.4558, allocations: 54.78 kB / 0.5783 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.4558, allocations: 18.61 kB / 0.5783 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.4564, allocations: 0.5924 MB / 0.5789 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4564, allocations: 39.09 kB / 0.579 GB, free: 25.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4564, allocations: 3.938 kB / 0.579 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005404/0.457, allocations: 300.8 kB / 0.5792 GB, free: 25.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.457, allocations: 53.44 kB / 0.5793 GB, free: 25.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.457, allocations: 96.81 kB / 0.5794 GB, free: 25.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.4571, allocations: 31.05 kB / 0.5794 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.4571, allocations: 86.77 kB / 0.5795 GB, free: 25.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.4571, allocations: 27.16 kB / 0.5795 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.4572, allocations: 27.7 kB / 0.5796 GB, free: 25.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.4572, allocations: 317 kB / 0.5799 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.4572, allocations: 19.34 kB / 0.5799 GB, free: 24.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.4573, allocations: 55.25 kB / 0.5799 GB, free: 24.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/0.4574, allocations: 77.86 kB / 0.58 GB, free: 24.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4574, allocations: 0 / 0.58 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.4575, allocations: 97.86 kB / 0.5801 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.4575, allocations: 5.031 kB / 0.5801 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4575, allocations: 2.016 kB / 0.5801 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4576, allocations: 2.656 kB / 0.5801 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.4576, allocations: 22.36 kB / 0.5801 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4577, allocations: 2.328 kB / 0.5801 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.4577, allocations: 10.41 kB / 0.5801 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4577, allocations: 6.969 kB / 0.5801 GB, free: 24.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.7e-05/0.4578, allocations: 112.7 kB / 0.5803 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.4578, allocations: 2.5 kB / 0.5803 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.4578, allocations: 9.969 kB / 0.5803 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4579, allocations: 3.297 kB / 0.5803 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4579, allocations: 1.844 kB / 0.5803 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4579, allocations: 4.641 kB / 0.5803 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.4581, allocations: 181.4 kB / 0.5804 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4581, allocations: 0.6094 kB / 0.5804 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.4582, allocations: 22.45 kB / 0.5805 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4582, allocations: 2.031 kB / 0.5805 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4582, allocations: 2.547 kB / 0.5805 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4582, allocations: 1.281 kB / 0.5805 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4582, allocations: 0 / 0.5805 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.4584, allocations: 176.8 kB / 0.5806 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.4584, allocations: 82.39 kB / 0.5807 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4584, allocations: 0.5625 kB / 0.5807 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4585, allocations: 8.156 kB / 0.5807 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.4586, allocations: 6 kB / 0.5807 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.4586, allocations: 9.594 kB / 0.5807 GB, free: 24.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.087e-05/0.4586, allocations: 85.56 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4586, allocations: 0 / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.4588, allocations: 13.88 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001104/0.459, allocations: 103 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.4591, allocations: 44.25 kB / 0.581 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4591, allocations: 0.5 kB / 0.581 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.4591, allocations: 21.89 kB / 0.581 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.4594, allocations: 5.297 kB / 0.581 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.4599, allocations: 332 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4601, allocations: 0.6876 MB / 0.582 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.4601, allocations: 4.859 kB / 0.582 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.4602, allocations: 15.72 kB / 0.582 GB, free: 23.05 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4602, allocations: 0 / 0.582 GB, free: 23.05 MB / 446.1 MB Notification: Performance of Templates: time 0.003232/0.4634, allocations: 0.6116 MB / 0.5826 GB, free: 22.78 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)