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.0006924/0.0006923, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0007172/0.000717, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 223.3 MB / 240 MB, free: 5.406 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 0.8758/0.8758, allocations: 143.2 MB / 434.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002771, allocations: 8 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 83.41 MB / 0.5973 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00109/0.1313, allocations: 0.9783 MB / 0.5982 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1339, allocations: 2.345 MB / 0.6005 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.134, allocations: 0 / 0.6005 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.134, allocations: 0 / 0.6005 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.134, allocations: 3.938 kB / 0.6005 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1344, allocations: 111.5 kB / 0.6006 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.1345, allocations: 27.92 kB / 0.6006 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.1345, allocations: 0 / 0.6006 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.1346, allocations: 27.86 kB / 0.6007 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.1347, allocations: 19.91 kB / 0.6007 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1347, allocations: 4 kB / 0.6007 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1349, allocations: 83.83 kB / 0.6008 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1349, allocations: 7.984 kB / 0.6008 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.135, allocations: 29.7 kB / 0.6008 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1351, allocations: 56.09 kB / 0.6009 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1351, allocations: 0 / 0.6009 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.626e-06/0.1351, allocations: 0 / 0.6009 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.1351, allocations: 3.938 kB / 0.6009 GB, free: 4.324 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003141/0.1354, allocations: 339.4 kB / 0.6012 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1355, allocations: 8.031 kB / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.1356, allocations: 19.86 kB / 0.6012 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.1357, allocations: 167 kB / 0.6014 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1358, allocations: 8 kB / 0.6014 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1358, allocations: 4 kB / 0.6014 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1359, allocations: 68.25 kB / 0.6014 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1359, allocations: 3.938 kB / 0.6014 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1359, allocations: 4 kB / 0.6014 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.136, allocations: 0 / 0.6014 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.136, allocations: 12 kB / 0.6015 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.1365, allocations: 474.8 kB / 0.6019 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1366, allocations: 67.66 kB / 0.602 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.1367, allocations: 26.7 kB / 0.602 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1367, allocations: 7.938 kB / 0.602 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1367, allocations: 38.64 kB / 0.602 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1367, allocations: 0 / 0.602 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005486/0.1373, allocations: 302.6 kB / 0.6023 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1373, allocations: 114.8 kB / 0.6024 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1374, allocations: 101.8 kB / 0.6025 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1374, allocations: 29.7 kB / 0.6026 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.1375, allocations: 84.05 kB / 0.6027 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1375, allocations: 35.53 kB / 0.6027 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.1375, allocations: 0 / 0.6027 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.1376, allocations: 318.9 kB / 0.603 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.1376, allocations: 15.98 kB / 0.603 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.1377, allocations: 49.14 kB / 0.6031 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.1377, allocations: 20 kB / 0.6031 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1377, allocations: 4 kB / 0.6031 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001268/0.1379, allocations: 89.55 kB / 0.6032 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1379, allocations: 8 kB / 0.6032 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1379, allocations: 3.953 kB / 0.6032 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1379, allocations: 4 kB / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.138, allocations: 23.92 kB / 0.6032 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.138, allocations: 3.984 kB / 0.6032 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.138, allocations: 8 kB / 0.6032 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.138, allocations: 4.125 kB / 0.6032 GB, free: 1.566 MB / 0.4981 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 7.626e-05/0.1381, allocations: 121.8 kB / 0.6033 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1382, allocations: 7.844 kB / 0.6033 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.1382, allocations: 11.56 kB / 0.6033 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1382, allocations: 3.953 kB / 0.6034 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1382, allocations: 0 / 0.6034 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1382, allocations: 4 kB / 0.6034 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1385, allocations: 169.7 kB / 0.6035 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1386, allocations: 3.938 kB / 0.6035 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.1386, allocations: 19.98 kB / 0.6035 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1387, allocations: 8 kB / 0.6035 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1387, allocations: 4.062 kB / 0.6036 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1387, allocations: 0 / 0.6036 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1387, allocations: 7.953 kB / 0.6036 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1389, allocations: 325.9 kB / 0.6039 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1389, allocations: 93.14 kB / 0.604 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.139, allocations: 0 / 0.604 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1391, allocations: 4 kB / 0.604 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.1391, allocations: 7.953 kB / 0.604 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1392, allocations: 3.984 kB / 0.604 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.92e-05/0.1392, allocations: 83.7 kB / 0.6041 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1392, allocations: 0 / 0.6041 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002874/0.1395, allocations: 12 kB / 0.6041 GB, free: 0.6016 MB / 0.4981 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 (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.0001161/0.1396, allocations: 111.4 kB / 0.6042 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1397, allocations: 47.86 kB / 0.6042 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1397, allocations: 0 / 0.6042 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.1398, allocations: 15.98 kB / 0.6042 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1401, allocations: 12.23 kB / 0.6042 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2083/0.3485, allocations: 397.5 kB / 0.6046 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.3486, allocations: 0.6863 MB / 0.6053 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.312e-05/0.3487, allocations: 4.031 kB / 0.6053 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.3487, allocations: 12.22 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.3487, allocations: 1.656 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.002235/0.3509, allocations: 0.5918 MB / 0.6059 GB, free: 40.55 MB / 0.4981 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)