Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00773/0.00773, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001659/0.001659, allocations: 197.2 kB / 16.68 MB, free: 5.973 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.065/1.065, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001829, allocations: 64.05 kB / 0.5955 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4456, allocations: 82.03 MB / 0.6756 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002059/0.4477, allocations: 1.27 MB / 0.6768 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.4507, allocations: 2.503 MB / 0.6793 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.4507, allocations: 1.125 kB / 0.6793 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.4508, allocations: 3.938 kB / 0.6793 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.4508, allocations: 8.984 kB / 0.6793 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.4514, allocations: 135.6 kB / 0.6794 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.4515, allocations: 33.78 kB / 0.6795 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.4515, allocations: 5.312 kB / 0.6795 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.4516, allocations: 21.48 kB / 0.6795 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.4516, allocations: 18.34 kB / 0.6795 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.4516, allocations: 2.156 kB / 0.6795 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.4519, allocations: 109.2 kB / 0.6796 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.452, allocations: 14.31 kB / 0.6796 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.452, allocations: 11.91 kB / 0.6796 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.4522, allocations: 86.69 kB / 0.6797 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4522, allocations: 5.562 kB / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4522, allocations: 0 / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4523, allocations: 0 / 0.6797 GB, free: 14.17 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.0003818/0.4526, allocations: 357.1 kB / 0.6801 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4527, allocations: 9.125 kB / 0.6801 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.4529, allocations: 18.11 kB / 0.6801 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.453, allocations: 169.3 kB / 0.6803 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4531, allocations: 6.688 kB / 0.6803 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.4531, allocations: 11.94 kB / 0.6803 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4532, allocations: 68.28 kB / 0.6803 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4532, allocations: 1.125 kB / 0.6803 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4533, allocations: 5.094 kB / 0.6803 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4533, allocations: 1.188 kB / 0.6803 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.4533, allocations: 9.844 kB / 0.6804 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.4539, allocations: 470 kB / 0.6808 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.4541, allocations: 70.88 kB / 0.6809 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.4541, allocations: 34.59 kB / 0.6809 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4541, allocations: 1.406 kB / 0.6809 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.4542, allocations: 32.12 kB / 0.6809 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4542, allocations: 1.469 kB / 0.6809 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006228/0.4548, allocations: 314.4 kB / 0.6812 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.4549, allocations: 104.1 kB / 0.6813 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.4549, allocations: 98.58 kB / 0.6814 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.455, allocations: 26.86 kB / 0.6815 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.455, allocations: 85.28 kB / 0.6815 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.455, allocations: 29.98 kB / 0.6816 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.4551, allocations: 30.27 kB / 0.6816 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4552, allocations: 320.2 kB / 0.6819 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.4552, allocations: 13.34 kB / 0.6819 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/0.4553, allocations: 59.48 kB / 0.682 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.854e-05/0.4554, allocations: 74.89 kB / 0.682 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4554, allocations: 0 / 0.682 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001361/0.4555, allocations: 90.42 kB / 0.6821 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4556, allocations: 7.188 kB / 0.6821 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4556, allocations: 2.281 kB / 0.6821 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4556, allocations: 1.938 kB / 0.6821 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.4557, allocations: 33.67 kB / 0.6822 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4557, allocations: 5.156 kB / 0.6822 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.4557, allocations: 6.047 kB / 0.6822 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.4558, allocations: 4.156 kB / 0.6822 GB, free: 11.59 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.31e-05/0.4558, allocations: 116.7 kB / 0.6823 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.4559, allocations: 4.125 kB / 0.6823 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.4559, allocations: 8.156 kB / 0.6823 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4559, allocations: 2.156 kB / 0.6823 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.456, allocations: 0 / 0.6823 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.456, allocations: 9.859 kB / 0.6823 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.4563, allocations: 181.7 kB / 0.6825 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4563, allocations: 0.5625 kB / 0.6825 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.4564, allocations: 17.94 kB / 0.6825 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4564, allocations: 1.734 kB / 0.6825 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4564, allocations: 5.031 kB / 0.6825 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4564, allocations: 1.156 kB / 0.6825 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4564, allocations: 1.125 kB / 0.6825 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.4567, allocations: 332.6 kB / 0.6828 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.4567, allocations: 88.67 kB / 0.6829 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4568, allocations: 2.062 kB / 0.6829 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4569, allocations: 2.188 kB / 0.6829 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.457, allocations: 11.44 kB / 0.6829 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.457, allocations: 10.12 kB / 0.6829 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.457, allocations: 77.56 kB / 0.683 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.457, allocations: 5.125 kB / 0.683 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003118/0.4573, allocations: 13.91 kB / 0.683 GB, free: 10.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000134/0.4575, allocations: 101.1 kB / 0.6831 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.4576, allocations: 43.77 kB / 0.6832 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4576, allocations: 3.938 kB / 0.6832 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.4577, allocations: 28.89 kB / 0.6832 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.4581, allocations: 3.781 kB / 0.6832 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.4587, allocations: 338.1 kB / 0.6835 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.459, allocations: 0.686 MB / 0.6842 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.459, allocations: 11.48 kB / 0.6842 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.4591, allocations: 11.09 kB / 0.6842 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4591, allocations: 0 / 0.6842 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of Templates: time 0.003052/0.4621, allocations: 0.6542 MB / 0.6849 GB, free: 9.273 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)