Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8172/0.8172, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 180.3 kB / 173.8 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 103.8 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004809, allocations: 12.88 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 76.76 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8661/1.111, allocations: 326.6 MB / 0.9543 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.112, allocations: 77.27 kB / 0.9544 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02835/1.14, allocations: 12.75 MB / 0.9668 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.925e-06/1.14, allocations: 4 kB / 0.9668 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.311e-06/1.14, allocations: 0 / 0.9668 GB, free: 4.609 MB / 0.6355 GB 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.000422/1.14, allocations: 347 kB / 0.9671 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.141, allocations: 8.031 kB / 0.9671 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/1.141, allocations: 8.578 kB / 0.9672 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.141, allocations: 163 kB / 0.9673 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.141, allocations: 4 kB / 0.9673 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/1.141, allocations: 7.891 kB / 0.9673 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/1.141, allocations: 60.73 kB / 0.9674 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.141, allocations: 3.984 kB / 0.9674 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.141, allocations: 4 kB / 0.9674 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.141, allocations: 4 kB / 0.9674 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/1.141, allocations: 23.61 kB / 0.9674 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/1.141, allocations: 160.7 kB / 0.9676 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/1.141, allocations: 53.98 kB / 0.9676 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007835/1.142, allocations: 0.5969 MB / 0.9682 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.142, allocations: 38.45 kB / 0.9682 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/1.142, allocations: 0 / 0.9682 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006613/1.143, allocations: 299.7 kB / 0.9685 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.143, allocations: 59.41 kB / 0.9686 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/1.143, allocations: 92.81 kB / 0.9687 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/1.143, allocations: 25.7 kB / 0.9687 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/1.143, allocations: 87.3 kB / 0.9688 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/1.143, allocations: 27.14 kB / 0.9688 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/1.143, allocations: 0 / 0.9688 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.143, allocations: 318.7 kB / 0.9691 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/1.143, allocations: 11.36 kB / 0.9691 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/1.143, allocations: 61.38 kB / 0.9692 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/1.143, allocations: 19.12 kB / 0.9692 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/1.144, allocations: 0 / 0.9692 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001318/1.144, allocations: 99.83 kB / 0.9693 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.144, allocations: 11.95 kB / 0.9693 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.144, allocations: 0 / 0.9693 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.144, allocations: 4 kB / 0.9693 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/1.144, allocations: 19.98 kB / 0.9693 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.144, allocations: 7.875 kB / 0.9693 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/1.144, allocations: 7.875 kB / 0.9693 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/1.144, allocations: 4 kB / 0.9693 GB, free: 1.746 MB / 0.6355 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/1.144, allocations: 109.3 kB / 0.9694 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/1.144, allocations: 8.062 kB / 0.9695 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/1.144, allocations: 11.61 kB / 0.9695 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.144, allocations: 4 kB / 0.9695 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.144, allocations: 0 / 0.9695 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.144, allocations: 3.984 kB / 0.9695 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/1.144, allocations: 172.9 kB / 0.9696 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.144, allocations: 3.984 kB / 0.9696 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/1.144, allocations: 12 kB / 0.9697 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/1.144, allocations: 0 / 0.9697 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.144, allocations: 4.438 kB / 0.9697 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.144, allocations: 7.891 kB / 0.9697 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.144, allocations: 4 kB / 0.9697 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/1.145, allocations: 170 kB / 0.9698 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/1.145, allocations: 85.53 kB / 0.9699 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/1.145, allocations: 3.984 kB / 0.9699 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/1.145, allocations: 0 / 0.9699 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/1.145, allocations: 7.953 kB / 0.9699 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/1.145, allocations: 7.5 kB / 0.9699 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.008e-05/1.145, allocations: 87.25 kB / 0.97 GB, free: 1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.215e-06/1.145, allocations: 0 / 0.97 GB, free: 1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002346/1.145, allocations: 23.75 kB / 0.97 GB, free: 0.9805 MB / 0.6355 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/1.145, allocations: 132 kB / 0.9702 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001143/1.145, allocations: 35.05 kB / 0.9702 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.146, allocations: 0 / 0.9702 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/1.146, allocations: 16.03 kB / 0.9702 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.146, allocations: 4.156 kB / 0.9702 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/1.146, allocations: 401 kB / 0.9706 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.147, allocations: 0.6848 MB / 0.9713 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.067e-05/1.147, allocations: 15.97 kB / 0.9713 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/1.147, allocations: 11.44 kB / 0.9713 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/1.147, allocations: 0 / 0.9713 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.003399/1.15, allocations: 0.8619 MB / 0.9721 GB, free: 14.8 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)