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.005247/0.005247, allocations: 101.6 kB / 15.88 MB, free: 6.312 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.00138/0.00138, allocations: 195.1 kB / 16.79 MB, free: 6.242 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.281/1.281, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6715/0.6715, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 60.69 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002093/0.1265, allocations: 1.331 MB / 0.5571 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1297, allocations: 3.225 MB / 0.5603 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.1298, allocations: 0 / 0.5603 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1298, allocations: 0 / 0.5603 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.1298, allocations: 7.938 kB / 0.5603 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1304, allocations: 87.66 kB / 0.5604 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.1305, allocations: 39.86 kB / 0.5604 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.1305, allocations: 7.984 kB / 0.5604 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/0.1306, allocations: 12 kB / 0.5604 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.1307, allocations: 19.91 kB / 0.5604 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1307, allocations: 4 kB / 0.5605 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.131, allocations: 79.75 kB / 0.5605 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.131, allocations: 11.97 kB / 0.5605 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1311, allocations: 11.94 kB / 0.5606 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1313, allocations: 72.06 kB / 0.5606 GB, free: 5.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1313, allocations: 0 / 0.5606 GB, free: 5.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1313, allocations: 0 / 0.5606 GB, free: 5.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1313, allocations: 0 / 0.5606 GB, free: 5.809 MB / 430.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.0004801/0.1318, allocations: 351.5 kB / 0.561 GB, free: 5.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.1318, allocations: 8.031 kB / 0.561 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.1319, allocations: 34.73 kB / 0.561 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.132, allocations: 4.938 kB / 0.561 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1322, allocations: 168.3 kB / 0.5612 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1322, allocations: 8.312 kB / 0.5612 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1322, allocations: 4.375 kB / 0.5612 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1323, allocations: 69.48 kB / 0.5612 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1323, allocations: 0 / 0.5612 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1324, allocations: 0 / 0.5612 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1324, allocations: 4 kB / 0.5612 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.1324, allocations: 15.98 kB / 0.5613 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.1326, allocations: 173.5 kB / 0.5614 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.1327, allocations: 50.56 kB / 0.5615 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.1327, allocations: 20.78 kB / 0.5615 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.1334, allocations: 0.5908 MB / 0.5621 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1334, allocations: 30.56 kB / 0.5621 GB, free: 4.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.1334, allocations: 0 / 0.5621 GB, free: 4.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.000513/0.1339, allocations: 306.9 kB / 0.5624 GB, free: 3.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.1339, allocations: 55.41 kB / 0.5624 GB, free: 3.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.134, allocations: 105.8 kB / 0.5625 GB, free: 3.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.134, allocations: 25.7 kB / 0.5626 GB, free: 3.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1341, allocations: 92.05 kB / 0.5627 GB, free: 3.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1341, allocations: 27.55 kB / 0.5627 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1341, allocations: 21.72 kB / 0.5627 GB, free: 3.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.1342, allocations: 322.8 kB / 0.563 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.1343, allocations: 16.06 kB / 0.563 GB, free: 2.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.1343, allocations: 57.08 kB / 0.5631 GB, free: 2.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.1344, allocations: 69.08 kB / 0.5631 GB, free: 2.805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1344, allocations: 4 kB / 0.5632 GB, free: 2.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001263/0.1345, allocations: 101.4 kB / 0.5632 GB, free: 2.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1346, allocations: 8 kB / 0.5633 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1346, allocations: 0 / 0.5633 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1346, allocations: 4 kB / 0.5633 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.1347, allocations: 19.94 kB / 0.5633 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1347, allocations: 0 / 0.5633 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.1347, allocations: 7.938 kB / 0.5633 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1347, allocations: 8.125 kB / 0.5633 GB, free: 2.648 MB / 430.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 7.001e-05/0.1348, allocations: 117.8 kB / 0.5634 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1348, allocations: 0 / 0.5634 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1349, allocations: 11.97 kB / 0.5634 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1349, allocations: 0 / 0.5634 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1349, allocations: 0 / 0.5634 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1349, allocations: 3.938 kB / 0.5634 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1351, allocations: 173.7 kB / 0.5636 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1351, allocations: 0 / 0.5636 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.1352, allocations: 27.86 kB / 0.5636 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1352, allocations: 4.281 kB / 0.5636 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1352, allocations: 0 / 0.5636 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1352, allocations: 0 / 0.5636 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1352, allocations: 0 / 0.5636 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1354, allocations: 179.4 kB / 0.5638 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1355, allocations: 81.11 kB / 0.5639 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1355, allocations: 4 kB / 0.5639 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1356, allocations: 8 kB / 0.5639 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.1356, allocations: 7.922 kB / 0.5639 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1356, allocations: 4 kB / 0.5639 GB, free: 1.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.236e-05/0.1357, allocations: 83.28 kB / 0.564 GB, free: 1.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1357, allocations: 3.938 kB / 0.564 GB, free: 1.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1359, allocations: 8 kB / 0.564 GB, free: 1.852 MB / 430.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.0003652/0.1363, allocations: 0.7046 MB / 0.5647 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.802e-05/0.1364, allocations: 51.94 kB / 0.5647 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1364, allocations: 0 / 0.5647 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.1364, allocations: 11.94 kB / 0.5647 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1367, allocations: 14.44 kB / 0.5647 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1379, allocations: 1.536 MB / 0.5662 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1381, allocations: 0.6848 MB / 0.5669 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.1381, allocations: 11.97 kB / 0.5669 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.1382, allocations: 19.44 kB / 0.5669 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1382, allocations: 0 / 0.5669 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3536/0.4918, allocations: 1.485 MB / 0.5684 GB, free: 13.26 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/0.4922, allocations: 186.7 kB / 0.5686 GB, free: 13.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.301, allocations: 0 / 0.5686 GB, free: 13.01 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)