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.0007694/0.0007695, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.332 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.008/1.008, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 8 kB / 0.517 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 83.41 MB / 0.5985 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001252/0.1521, allocations: 0.9939 MB / 0.5995 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1557, allocations: 3.194 MB / 0.6026 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.1557, allocations: 0 / 0.6026 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1557, allocations: 3.938 kB / 0.6026 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.1558, allocations: 3.984 kB / 0.6026 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1562, allocations: 95.61 kB / 0.6027 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.1563, allocations: 43.8 kB / 0.6027 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.1564, allocations: 0 / 0.6027 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.1564, allocations: 15.98 kB / 0.6027 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1565, allocations: 23.91 kB / 0.6028 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1565, allocations: 4 kB / 0.6028 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.1567, allocations: 75.8 kB / 0.6028 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1567, allocations: 3.984 kB / 0.6028 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1568, allocations: 41.64 kB / 0.6029 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1569, allocations: 48.2 kB / 0.6029 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1569, allocations: 4 kB / 0.6029 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.945e-06/0.1569, allocations: 0 / 0.6029 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1569, allocations: 3.938 kB / 0.6029 GB, free: 3.156 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.0003644/0.1573, allocations: 339.5 kB / 0.6033 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1574, allocations: 8.031 kB / 0.6033 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.1574, allocations: 4.938 kB / 0.6033 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1576, allocations: 172.3 kB / 0.6034 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1576, allocations: 8.312 kB / 0.6034 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1576, allocations: 4.375 kB / 0.6034 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1577, allocations: 57.8 kB / 0.6035 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1578, allocations: 0 / 0.6035 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1578, allocations: 0 / 0.6035 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1578, allocations: 4 kB / 0.6035 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.1578, allocations: 23.92 kB / 0.6035 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.158, allocations: 161.7 kB / 0.6037 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.1581, allocations: 54.53 kB / 0.6037 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.1582, allocations: 16.86 kB / 0.6037 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.1589, allocations: 0.6026 MB / 0.6043 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1589, allocations: 34.56 kB / 0.6044 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1589, allocations: 0 / 0.6044 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000556/0.1595, allocations: 298.2 kB / 0.6046 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1595, allocations: 51.41 kB / 0.6047 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.1596, allocations: 105.8 kB / 0.6048 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1596, allocations: 25.7 kB / 0.6048 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.1597, allocations: 96.03 kB / 0.6049 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1597, allocations: 27.56 kB / 0.6049 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.1597, allocations: 17.7 kB / 0.605 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.1598, allocations: 318.8 kB / 0.6053 GB, free: 404 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.1599, allocations: 15.98 kB / 0.6053 GB, free: 388 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.1599, allocations: 53.09 kB / 0.6053 GB, free: 316 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.16, allocations: 73.02 kB / 0.6054 GB, free: 224 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.16, allocations: 3.938 kB / 0.6054 GB, free: 220 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.1602, allocations: 101.5 kB / 0.6055 GB, free: 112 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1602, allocations: 4 kB / 0.6055 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1602, allocations: 0 / 0.6055 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1602, allocations: 4 kB / 0.6055 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.1603, allocations: 19.98 kB / 0.6055 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1603, allocations: 4 kB / 0.6055 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.1604, allocations: 7.938 kB / 0.6055 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1604, allocations: 4 kB / 0.6055 GB, free: 68 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2875/0.4479, allocations: 113.3 kB / 0.6056 GB, free: 41.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.448, allocations: 3.125 kB / 0.6057 GB, free: 41.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.448, allocations: 10.84 kB / 0.6057 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.448, allocations: 3 kB / 0.6057 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.448, allocations: 1.812 kB / 0.6057 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.448, allocations: 4.406 kB / 0.6057 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.4483, allocations: 171.4 kB / 0.6058 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4483, allocations: 0 / 0.6058 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.4484, allocations: 16.89 kB / 0.6059 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4484, allocations: 0.5312 kB / 0.6059 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4484, allocations: 5.75 kB / 0.6059 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4484, allocations: 1.625 kB / 0.6059 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4485, allocations: 0.75 kB / 0.6059 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4486, allocations: 179.4 kB / 0.606 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.4487, allocations: 84.89 kB / 0.6061 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4487, allocations: 2.812 kB / 0.6061 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4488, allocations: 5.125 kB / 0.6061 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.4489, allocations: 12.06 kB / 0.6061 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.4489, allocations: 2.156 kB / 0.6061 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.437e-05/0.4489, allocations: 79.66 kB / 0.6062 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4489, allocations: 0 / 0.6062 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000247/0.4491, allocations: 13.69 kB / 0.6062 GB, free: 40.95 MB / 0.4981 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.0001131/0.4493, allocations: 104.7 kB / 0.6063 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.4494, allocations: 44.31 kB / 0.6064 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4494, allocations: 0.8438 kB / 0.6064 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.4494, allocations: 13.55 kB / 0.6064 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4497, allocations: 13.44 kB / 0.6064 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.4503, allocations: 421.5 kB / 0.6068 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.4504, allocations: 0.6867 MB / 0.6075 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.4504, allocations: 10.22 kB / 0.6075 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.4504, allocations: 0 / 0.6075 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.001831/0.4522, allocations: 0.766 MB / 0.6082 GB, free: 39.88 MB / 0.4981 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)