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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005697/0.005697, allocations: 100.6 kB / 15.73 MB, free: 5.988 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.001226/0.001226, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.068/1.068, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4639, allocations: 82.03 MB / 0.6756 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001994/0.4659, allocations: 1.259 MB / 0.6768 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.4698, allocations: 3.256 MB / 0.68 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.4699, allocations: 0 / 0.68 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.4699, allocations: 4.984 kB / 0.68 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.47, allocations: 7.922 kB / 0.68 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.4705, allocations: 106.7 kB / 0.6801 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.4706, allocations: 44.86 kB / 0.6802 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.4706, allocations: 2.312 kB / 0.6802 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.4707, allocations: 18 kB / 0.6802 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.4707, allocations: 21.36 kB / 0.6802 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.4708, allocations: 2.656 kB / 0.6802 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.471, allocations: 76.98 kB / 0.6803 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.471, allocations: 5.406 kB / 0.6803 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.471, allocations: 19.61 kB / 0.6803 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.4712, allocations: 66.89 kB / 0.6804 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4712, allocations: 0 / 0.6804 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4712, allocations: 0 / 0.6804 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4713, allocations: 1.219 kB / 0.6804 GB, free: 13.58 MB / 0.5137 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.0004535/0.4717, allocations: 348.3 kB / 0.6807 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4718, allocations: 12.69 kB / 0.6807 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4719, allocations: 9.469 kB / 0.6807 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.472, allocations: 167.3 kB / 0.6809 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.472, allocations: 1.531 kB / 0.6809 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.472, allocations: 3.812 kB / 0.6809 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4722, allocations: 58.42 kB / 0.6809 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4722, allocations: 4 kB / 0.681 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4722, allocations: 1.375 kB / 0.681 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4722, allocations: 5.5 kB / 0.681 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.914e-05/0.4723, allocations: 29.59 kB / 0.681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.4725, allocations: 161.8 kB / 0.6811 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.192e-05/0.4726, allocations: 48.38 kB / 0.6812 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.4726, allocations: 19.09 kB / 0.6812 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.4733, allocations: 0.6022 MB / 0.6818 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.4733, allocations: 31.72 kB / 0.6818 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.4733, allocations: 0 / 0.6818 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005836/0.4739, allocations: 308 kB / 0.6821 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.474, allocations: 52.5 kB / 0.6822 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.4741, allocations: 97.17 kB / 0.6823 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4741, allocations: 31.58 kB / 0.6823 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.4741, allocations: 93.2 kB / 0.6824 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.4742, allocations: 26.67 kB / 0.6824 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.4742, allocations: 25.95 kB / 0.6824 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4743, allocations: 319.9 kB / 0.6827 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.4744, allocations: 11.16 kB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.4744, allocations: 52.95 kB / 0.6828 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.442e-05/0.4745, allocations: 74.86 kB / 0.6829 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4745, allocations: 5.125 kB / 0.6829 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001516/0.4747, allocations: 101.7 kB / 0.683 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4747, allocations: 5.656 kB / 0.683 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4747, allocations: 2.219 kB / 0.683 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4747, allocations: 2.625 kB / 0.683 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.4748, allocations: 19.52 kB / 0.683 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4748, allocations: 2.875 kB / 0.683 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.4749, allocations: 5.438 kB / 0.683 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4749, allocations: 8.406 kB / 0.683 GB, free: 10.79 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.475, allocations: 120.7 kB / 0.6831 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.475, allocations: 6.812 kB / 0.6831 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.4751, allocations: 7.969 kB / 0.6831 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.4751, allocations: 5.406 kB / 0.6831 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4751, allocations: 0 / 0.6831 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4751, allocations: 5.406 kB / 0.6832 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.4753, allocations: 178 kB / 0.6833 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4754, allocations: 288 / 0.6833 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.4754, allocations: 20.3 kB / 0.6833 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.4755, allocations: 1.469 kB / 0.6833 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4755, allocations: 0 / 0.6833 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4755, allocations: 5.531 kB / 0.6834 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4755, allocations: 0 / 0.6834 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.4757, allocations: 177.6 kB / 0.6835 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.4758, allocations: 86.48 kB / 0.6836 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.4758, allocations: 5.469 kB / 0.6836 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4759, allocations: 1.906 kB / 0.6836 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.4759, allocations: 3.562 kB / 0.6836 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.476, allocations: 9.188 kB / 0.6836 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.719e-05/0.476, allocations: 86.2 kB / 0.6837 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.476, allocations: 0 / 0.6837 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002438/0.4763, allocations: 9.625 kB / 0.6837 GB, free: 10.07 MB / 0.5137 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 (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.0001411/0.4764, allocations: 100.9 kB / 0.6838 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.4766, allocations: 42.58 kB / 0.6838 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4766, allocations: 5.375 kB / 0.6839 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.4766, allocations: 18.95 kB / 0.6839 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4769, allocations: 8.406 kB / 0.6839 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.4775, allocations: 323.9 kB / 0.6842 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4778, allocations: 0.6823 MB / 0.6849 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.4778, allocations: 6.469 kB / 0.6849 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.4778, allocations: 15.34 kB / 0.6849 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.4778, allocations: 0 / 0.6849 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.003012/0.4809, allocations: 0.6308 MB / 0.6855 GB, free: 8.633 MB / 0.5137 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)