Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_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.001737/0.001737, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.002141/0.002141, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7716/0.7716, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 69.45 kB / 0.5679 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 77.93 MB / 0.644 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002574/0.1291, allocations: 1.266 MB / 0.6453 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.1328, allocations: 3.258 MB / 0.6484 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.1328, allocations: 0 / 0.6484 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.1328, allocations: 0 / 0.6484 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.1329, allocations: 15.84 kB / 0.6485 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.1334, allocations: 99.55 kB / 0.6485 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.1335, allocations: 39.91 kB / 0.6486 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.1335, allocations: 7.938 kB / 0.6486 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.1336, allocations: 15.97 kB / 0.6486 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.1337, allocations: 19.92 kB / 0.6486 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1337, allocations: 4 kB / 0.6486 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.1339, allocations: 79.8 kB / 0.6487 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1339, allocations: 4 kB / 0.6487 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.134, allocations: 19.92 kB / 0.6487 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1342, allocations: 68.08 kB / 0.6488 GB, free: 4.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1342, allocations: 0 / 0.6488 GB, free: 4.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1342, allocations: 0 / 0.6488 GB, free: 4.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1342, allocations: 4 kB / 0.6488 GB, free: 4.625 MB / 494.1 MB 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.0003823/0.1346, allocations: 349.2 kB / 0.6491 GB, free: 4.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1346, allocations: 12.62 kB / 0.6491 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.1347, allocations: 38.69 kB / 0.6492 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.1348, allocations: 4.938 kB / 0.6492 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.1349, allocations: 164.4 kB / 0.6493 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1349, allocations: 4.375 kB / 0.6493 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1349, allocations: 12.33 kB / 0.6494 GB, free: 3.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1351, allocations: 57.61 kB / 0.6494 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1351, allocations: 0 / 0.6494 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1351, allocations: 4 kB / 0.6494 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1351, allocations: 3.938 kB / 0.6494 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.1352, allocations: 23.91 kB / 0.6494 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1353, allocations: 169.5 kB / 0.6496 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/0.1354, allocations: 46.56 kB / 0.6497 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.1355, allocations: 24.84 kB / 0.6497 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/0.1361, allocations: 0.591 MB / 0.6503 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1362, allocations: 38.56 kB / 0.6503 GB, free: 2.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1362, allocations: 0 / 0.6503 GB, free: 2.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005537/0.1367, allocations: 310.2 kB / 0.6506 GB, free: 2.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1368, allocations: 55.41 kB / 0.6506 GB, free: 2.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.605e-05/0.1369, allocations: 101.8 kB / 0.6507 GB, free: 2.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1369, allocations: 25.7 kB / 0.6508 GB, free: 2.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.1369, allocations: 84.09 kB / 0.6508 GB, free: 2.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.137, allocations: 31.73 kB / 0.6509 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.137, allocations: 29.7 kB / 0.6509 GB, free: 2.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1371, allocations: 314.8 kB / 0.6512 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.1371, allocations: 12 kB / 0.6512 GB, free: 1.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.1372, allocations: 57.14 kB / 0.6513 GB, free: 1.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.1373, allocations: 77.02 kB / 0.6513 GB, free: 1.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1373, allocations: 0 / 0.6513 GB, free: 1.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001296/0.1374, allocations: 93.77 kB / 0.6514 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1375, allocations: 8 kB / 0.6514 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1375, allocations: 0 / 0.6514 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1375, allocations: 7.938 kB / 0.6514 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.1376, allocations: 19.98 kB / 0.6515 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1376, allocations: 0 / 0.6515 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.1376, allocations: 12.06 kB / 0.6515 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1376, allocations: 8 kB / 0.6515 GB, free: 1.461 MB / 494.1 MB 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.53e-05/0.1377, allocations: 117.8 kB / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1378, allocations: 3.953 kB / 0.6516 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.1378, allocations: 7.969 kB / 0.6516 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1378, allocations: 4 kB / 0.6516 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1378, allocations: 0 / 0.6516 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1378, allocations: 3.938 kB / 0.6516 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1381, allocations: 177.7 kB / 0.6518 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1381, allocations: 0 / 0.6518 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.1382, allocations: 19.98 kB / 0.6518 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1382, allocations: 0 / 0.6518 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1382, allocations: 4.438 kB / 0.6518 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1382, allocations: 80 / 0.6518 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1382, allocations: 3.984 kB / 0.6518 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1384, allocations: 179.3 kB / 0.652 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.1384, allocations: 85.11 kB / 0.6521 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1384, allocations: 4.031 kB / 0.6521 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1386, allocations: 12 kB / 0.6521 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.1386, allocations: 3.938 kB / 0.6521 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1386, allocations: 4 kB / 0.6521 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.1386, allocations: 83.27 kB / 0.6522 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1386, allocations: 0 / 0.6522 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1389, allocations: 12 kB / 0.6522 GB, free: 0.6602 MB / 494.1 MB 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.0003985/0.1393, allocations: 0.7124 MB / 0.6529 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1394, allocations: 35.92 kB / 0.6529 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1394, allocations: 4 kB / 0.6529 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.1394, allocations: 12 kB / 0.6529 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1397, allocations: 19.86 kB / 0.6529 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.141, allocations: 1.52 MB / 0.6544 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.1413, allocations: 0.6885 MB / 0.6551 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.1413, allocations: 0 / 0.6551 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.1414, allocations: 23.42 kB / 0.6551 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1414, allocations: 0 / 0.6551 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.1598, allocations: 1.646 MB / 0.6567 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.759, allocations: 16.66 kB / 0.6567 GB, free: 11.89 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)