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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009929/0.000993, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001024/0.001024, allocations: 196.9 kB / 16.14 MB, free: 6.734 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.8923/0.8923, allocations: 143.1 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1337, allocations: 82.04 MB / 0.5937 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001886/0.1356, allocations: 1.325 MB / 0.595 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.1385, allocations: 3.233 MB / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.1385, allocations: 0 / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1385, allocations: 7.922 kB / 0.5982 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.1385, allocations: 0 / 0.5982 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.1389, allocations: 95.55 kB / 0.5983 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.653e-05/0.139, allocations: 35.86 kB / 0.5983 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.301e-05/0.139, allocations: 4 kB / 0.5983 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.139, allocations: 23.97 kB / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.1391, allocations: 19.86 kB / 0.5984 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1391, allocations: 4 kB / 0.5984 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1393, allocations: 75.8 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1393, allocations: 4 kB / 0.5984 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.1393, allocations: 23.91 kB / 0.5985 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1395, allocations: 60.09 kB / 0.5985 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1395, allocations: 7.922 kB / 0.5985 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.92e-07/0.1395, allocations: 0 / 0.5985 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.1395, allocations: 0 / 0.5985 GB, free: 5.043 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.0003021/0.1398, allocations: 347.5 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1398, allocations: 12.03 kB / 0.5989 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1399, allocations: 34.75 kB / 0.5989 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.14, allocations: 16.84 kB / 0.5989 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.1401, allocations: 164.3 kB / 0.5991 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1401, allocations: 8.359 kB / 0.5991 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1401, allocations: 8.375 kB / 0.5991 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1402, allocations: 57.61 kB / 0.5991 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1402, allocations: 0 / 0.5991 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1403, allocations: 0 / 0.5991 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1403, allocations: 0 / 0.5991 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.1403, allocations: 23.92 kB / 0.5992 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1405, allocations: 169.6 kB / 0.5993 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.216e-05/0.1406, allocations: 50.56 kB / 0.5994 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.1406, allocations: 20.84 kB / 0.5994 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.1412, allocations: 0.591 MB / 0.6 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1413, allocations: 38.5 kB / 0.6 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1413, allocations: 0 / 0.6 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005512/0.1418, allocations: 298.2 kB / 0.6003 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1419, allocations: 55.41 kB / 0.6003 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.1419, allocations: 105.7 kB / 0.6004 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.142, allocations: 29.7 kB / 0.6005 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.142, allocations: 80.14 kB / 0.6005 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.142, allocations: 31.55 kB / 0.6006 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1421, allocations: 25.72 kB / 0.6006 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1422, allocations: 318.8 kB / 0.6009 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.1422, allocations: 12 kB / 0.6009 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.1423, allocations: 57.08 kB / 0.601 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.1424, allocations: 77.02 kB / 0.601 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1424, allocations: 4 kB / 0.601 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001471/0.1425, allocations: 89.7 kB / 0.6011 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1425, allocations: 11.98 kB / 0.6011 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1426, allocations: 3.938 kB / 0.6011 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1426, allocations: 4.047 kB / 0.6012 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.1427, allocations: 19.98 kB / 0.6012 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1427, allocations: 0 / 0.6012 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.1427, allocations: 11.94 kB / 0.6012 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1427, allocations: 8.125 kB / 0.6012 GB, free: 1.883 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.1428, allocations: 121.8 kB / 0.6013 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1429, allocations: 0 / 0.6013 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.1429, allocations: 7.969 kB / 0.6013 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1429, allocations: 4 kB / 0.6013 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1429, allocations: 0 / 0.6013 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1429, allocations: 3.938 kB / 0.6013 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1432, allocations: 173.7 kB / 0.6015 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1432, allocations: 0 / 0.6015 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.1433, allocations: 19.98 kB / 0.6015 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1433, allocations: 448 / 0.6015 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1433, allocations: 8 kB / 0.6015 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1433, allocations: 0 / 0.6015 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1433, allocations: 4 kB / 0.6015 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1435, allocations: 171.3 kB / 0.6017 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.1436, allocations: 85.14 kB / 0.6018 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1436, allocations: 0 / 0.6018 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1437, allocations: 8 kB / 0.6018 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.1437, allocations: 11.92 kB / 0.6018 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1437, allocations: 4 kB / 0.6018 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.1438, allocations: 75.28 kB / 0.6019 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 0 / 0.6019 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.144, allocations: 16 kB / 0.6019 GB, free: 1.09 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.0003926/0.1444, allocations: 0.7123 MB / 0.6026 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.1445, allocations: 39.97 kB / 0.6026 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1445, allocations: 3.938 kB / 0.6026 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.1446, allocations: 19.92 kB / 0.6026 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1448, allocations: 11.2 kB / 0.6026 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1949/0.3397, allocations: 1.525 MB / 0.6041 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.84e-05/0.3398, allocations: 0.6854 MB / 0.6048 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.3399, allocations: 7.906 kB / 0.6048 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.3399, allocations: 15.48 kB / 0.6048 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.3399, allocations: 0 / 0.6048 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/0.4859, allocations: 1.513 MB / 0.6063 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.4861, allocations: 201.1 kB / 0.6065 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.999, allocations: 3.938 kB / 0.6065 GB, free: 42.12 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)