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.0008568/0.0008568, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008932/0.0008931, allocations: 172.7 kB / 15.95 MB, free: 208 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.17/1.17, allocations: 223.3 MB / 240 MB, free: 5.41 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.8429/0.8429, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 83.41 MB / 0.5972 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001014/0.1298, allocations: 0.9821 MB / 0.5982 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.1326, allocations: 3.056 MB / 0.6012 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.1326, allocations: 0 / 0.6012 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.868e-06/0.1327, allocations: 0 / 0.6012 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.1327, allocations: 7.984 kB / 0.6012 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.133, allocations: 83.61 kB / 0.6013 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.987e-05/0.1331, allocations: 31.86 kB / 0.6013 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.549e-05/0.1331, allocations: 0 / 0.6013 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.1331, allocations: 19.92 kB / 0.6013 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.1332, allocations: 19.97 kB / 0.6013 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1332, allocations: 4 kB / 0.6013 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1334, allocations: 47.84 kB / 0.6014 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1334, allocations: 11.98 kB / 0.6014 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.1334, allocations: 37.64 kB / 0.6014 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.776e-05/0.1335, allocations: 32.23 kB / 0.6015 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1335, allocations: 0 / 0.6015 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1335, allocations: 0 / 0.6015 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.1335, allocations: 0 / 0.6015 GB, free: 3.742 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.0002976/0.1338, allocations: 339.3 kB / 0.6018 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.1339, allocations: 12.03 kB / 0.6018 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.134, allocations: 7.953 kB / 0.6018 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.1341, allocations: 171 kB / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1341, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1341, allocations: 8 kB / 0.602 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1342, allocations: 49.67 kB / 0.602 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1342, allocations: 3.938 kB / 0.602 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1342, allocations: 4 kB / 0.602 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1342, allocations: 7.938 kB / 0.602 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.1343, allocations: 15.97 kB / 0.602 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1344, allocations: 173.6 kB / 0.6022 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.1345, allocations: 46.56 kB / 0.6023 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.1345, allocations: 16.86 kB / 0.6023 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.1351, allocations: 0.5945 MB / 0.6029 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1351, allocations: 38.56 kB / 0.6029 GB, free: 2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1351, allocations: 4 kB / 0.6029 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004649/0.1356, allocations: 302.5 kB / 0.6032 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.1356, allocations: 51.41 kB / 0.6032 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.1357, allocations: 105.8 kB / 0.6033 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1357, allocations: 25.7 kB / 0.6034 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.1358, allocations: 88.05 kB / 0.6034 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1358, allocations: 31.55 kB / 0.6035 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1358, allocations: 8 kB / 0.6035 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.1359, allocations: 310.8 kB / 0.6038 GB, free: 1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.1359, allocations: 12 kB / 0.6038 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.136, allocations: 53.08 kB / 0.6038 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.136, allocations: 27.98 kB / 0.6039 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.136, allocations: 4 kB / 0.6039 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001165/0.1361, allocations: 89.55 kB / 0.604 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1362, allocations: 7.953 kB / 0.604 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1362, allocations: 448 / 0.604 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1362, allocations: 4 kB / 0.604 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.1363, allocations: 23.94 kB / 0.604 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1363, allocations: 12.06 kB / 0.604 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.1363, allocations: 4 kB / 0.604 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1363, allocations: 4 kB / 0.604 GB, free: 0.7383 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 6.914e-05/0.1364, allocations: 117.8 kB / 0.6041 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1364, allocations: 7.906 kB / 0.6041 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.1365, allocations: 11.92 kB / 0.6041 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1365, allocations: 0 / 0.6041 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1365, allocations: 0 / 0.6041 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1365, allocations: 0 / 0.6041 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1367, allocations: 181.6 kB / 0.6043 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1367, allocations: 0 / 0.6043 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.1368, allocations: 19.98 kB / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1368, allocations: 0 / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1368, allocations: 3.938 kB / 0.6043 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1368, allocations: 3.953 kB / 0.6043 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1368, allocations: 0 / 0.6043 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.137, allocations: 171.6 kB / 0.6045 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.137, allocations: 81.02 kB / 0.6046 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.137, allocations: 8 kB / 0.6046 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.1371, allocations: 7.938 kB / 0.6046 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.1371, allocations: 11.94 kB / 0.6046 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1371, allocations: 0 / 0.6046 GB, free: 32 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2231/0.3603, allocations: 79.28 kB / 0.6047 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3603, allocations: 0 / 0.6047 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.3605, allocations: 13.34 kB / 0.6047 GB, free: 41.58 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 (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.0001043/0.3606, allocations: 104.4 kB / 0.6048 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3608, allocations: 41.95 kB / 0.6048 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3608, allocations: 0 / 0.6048 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.3608, allocations: 16.06 kB / 0.6048 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3611, allocations: 7.297 kB / 0.6049 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3615, allocations: 387.3 kB / 0.6052 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.3616, allocations: 0.6832 MB / 0.6059 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.3617, allocations: 10.47 kB / 0.6059 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.3617, allocations: 14.19 kB / 0.6059 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.3617, allocations: 0 / 0.6059 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002125/0.3638, allocations: 0.58 MB / 0.6065 GB, free: 40.54 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)