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.001029/0.001029, allocations: 92.95 kB / 16.02 MB, free: 84 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.0009243/0.0009244, allocations: 179.1 kB / 16.92 MB, free: 6.645 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8.281 kB / 495.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001284/0.1367, allocations: 0.9808 MB / 0.561 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.1404, allocations: 3.191 MB / 0.5641 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.1404, allocations: 3.938 kB / 0.5641 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1404, allocations: 0 / 0.5641 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.1405, allocations: 7.984 kB / 0.5641 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.141, allocations: 95.61 kB / 0.5642 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.1411, allocations: 39.78 kB / 0.5642 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.1411, allocations: 0 / 0.5642 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.1412, allocations: 19.98 kB / 0.5643 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.1412, allocations: 15.92 kB / 0.5643 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1413, allocations: 4 kB / 0.5643 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1415, allocations: 75.8 kB / 0.5644 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1415, allocations: 11.98 kB / 0.5644 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1416, allocations: 41.62 kB / 0.5644 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1418, allocations: 72.02 kB / 0.5645 GB, free: 4.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1418, allocations: 0 / 0.5645 GB, free: 4.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1418, allocations: 0 / 0.5645 GB, free: 4.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1418, allocations: 0 / 0.5645 GB, free: 4.352 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.0003548/0.1421, allocations: 335.5 kB / 0.5648 GB, free: 3.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1422, allocations: 12.03 kB / 0.5648 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.1422, allocations: 34.75 kB / 0.5648 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.1423, allocations: 8.922 kB / 0.5649 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/0.1424, allocations: 168.3 kB / 0.565 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1425, allocations: 4.375 kB / 0.565 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1425, allocations: 8.375 kB / 0.565 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1426, allocations: 57.59 kB / 0.5651 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1426, allocations: 0 / 0.5651 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1427, allocations: 7.922 kB / 0.5651 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1427, allocations: 0 / 0.5651 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.062e-05/0.1427, allocations: 19.98 kB / 0.5651 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1429, allocations: 169.6 kB / 0.5653 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.143, allocations: 50.56 kB / 0.5653 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.143, allocations: 16.84 kB / 0.5653 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.1437, allocations: 0.6025 MB / 0.5659 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1437, allocations: 30.56 kB / 0.5659 GB, free: 2.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1437, allocations: 4 kB / 0.566 GB, free: 2.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005593/0.1443, allocations: 302.2 kB / 0.5662 GB, free: 2.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1443, allocations: 51.41 kB / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.1444, allocations: 105.8 kB / 0.5664 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1444, allocations: 25.7 kB / 0.5664 GB, free: 2.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.1445, allocations: 92.05 kB / 0.5665 GB, free: 1.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1445, allocations: 27.55 kB / 0.5665 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1445, allocations: 21.72 kB / 0.5666 GB, free: 1.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.1446, allocations: 314.8 kB / 0.5669 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.1447, allocations: 15.98 kB / 0.5669 GB, free: 1.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.1447, allocations: 52.97 kB / 0.5669 GB, free: 1.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.1448, allocations: 77.03 kB / 0.567 GB, free: 1.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1448, allocations: 0 / 0.567 GB, free: 1.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001402/0.145, allocations: 89.55 kB / 0.5671 GB, free: 1.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.145, allocations: 8 kB / 0.5671 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.145, allocations: 0 / 0.5671 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.145, allocations: 12.11 kB / 0.5671 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1451, allocations: 16 kB / 0.5671 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1451, allocations: 3.938 kB / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.1452, allocations: 11.94 kB / 0.5671 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1452, allocations: 4 kB / 0.5671 GB, free: 1.219 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.774e-05/0.1453, allocations: 113.8 kB / 0.5672 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1453, allocations: 7.891 kB / 0.5672 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.1453, allocations: 7.969 kB / 0.5673 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1453, allocations: 4 kB / 0.5673 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1453, allocations: 4.281 kB / 0.5673 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1454, allocations: 3.938 kB / 0.5673 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1456, allocations: 177.7 kB / 0.5674 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1456, allocations: 0 / 0.5674 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.1457, allocations: 15.98 kB / 0.5674 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1457, allocations: 3.984 kB / 0.5675 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1457, allocations: 8 kB / 0.5675 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1457, allocations: 3.938 kB / 0.5675 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1457, allocations: 0 / 0.5675 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1459, allocations: 171.4 kB / 0.5676 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1459, allocations: 89.05 kB / 0.5677 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.146, allocations: 0 / 0.5677 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1461, allocations: 4.438 kB / 0.5677 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.1461, allocations: 11.92 kB / 0.5677 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1461, allocations: 4 kB / 0.5677 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.1461, allocations: 75.28 kB / 0.5678 GB, free: 444 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 0.5678 GB, free: 444 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1464, allocations: 20 kB / 0.5678 GB, free: 424 kB / 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.000384/0.1468, allocations: 0.7009 MB / 0.5685 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.1469, allocations: 44.03 kB / 0.5685 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1469, allocations: 256 / 0.5685 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.1469, allocations: 27.92 kB / 0.5686 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1472, allocations: 9.812 kB / 0.5686 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1485, allocations: 1.583 MB / 0.5701 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1487, allocations: 0.6809 MB / 0.5708 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.1488, allocations: 15.97 kB / 0.5708 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1488, allocations: 15.44 kB / 0.5708 GB, free: 13.17 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1488, allocations: 0 / 0.5708 GB, free: 13.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.585/2.734, allocations: 1.43 MB / 0.5722 GB, free: 11.87 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/2.734, allocations: 190 kB / 0.5724 GB, free: 11.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/5.692, allocations: 7.938 kB / 0.5724 GB, free: 11.61 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)