Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001071/0.001071, allocations: 93.27 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.001285/0.001285, allocations: 181.4 kB / 16.92 MB, free: 6.672 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6229/0.6229, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 11.94 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001136/0.136, allocations: 0.973 MB / 0.561 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.1394, allocations: 2.876 MB / 0.5638 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.1394, allocations: 0 / 0.5638 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1394, allocations: 3.938 kB / 0.5638 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.1395, allocations: 15.91 kB / 0.5638 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1399, allocations: 83.69 kB / 0.5639 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.1399, allocations: 43.84 kB / 0.5639 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.14, allocations: 0 / 0.5639 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.1404, allocations: 143.6 kB / 0.5641 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.1404, allocations: 19.92 kB / 0.5641 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1405, allocations: 3.938 kB / 0.5641 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1406, allocations: 67.86 kB / 0.5642 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1406, allocations: 4 kB / 0.5642 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.1407, allocations: 49.62 kB / 0.5642 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1408, allocations: 60.08 kB / 0.5643 GB, free: 4.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1408, allocations: 3.938 kB / 0.5643 GB, free: 4.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1408, allocations: 0 / 0.5643 GB, free: 4.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.1408, allocations: 3.938 kB / 0.5643 GB, free: 4.586 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.0003241/0.1412, allocations: 331.6 kB / 0.5646 GB, free: 4.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1412, allocations: 8.031 kB / 0.5646 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.1413, allocations: 42.73 kB / 0.5646 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.1413, allocations: 0.9375 kB / 0.5646 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.1414, allocations: 172.3 kB / 0.5648 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.1414, allocations: 384 / 0.5648 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1414, allocations: 12.28 kB / 0.5648 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1415, allocations: 53.61 kB / 0.5649 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1416, allocations: 0 / 0.5649 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1416, allocations: 4 kB / 0.5649 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1416, allocations: 0 / 0.5649 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.1416, allocations: 23.86 kB / 0.5649 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1418, allocations: 169.6 kB / 0.5651 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/0.1419, allocations: 50.56 kB / 0.5651 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1419, allocations: 24.83 kB / 0.5651 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.1425, allocations: 0.583 MB / 0.5657 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1426, allocations: 42.5 kB / 0.5657 GB, free: 2.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1426, allocations: 4 kB / 0.5657 GB, free: 2.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005004/0.1431, allocations: 306.6 kB / 0.566 GB, free: 2.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1431, allocations: 51.41 kB / 0.5661 GB, free: 2.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.1432, allocations: 101.8 kB / 0.5662 GB, free: 2.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1432, allocations: 33.7 kB / 0.5662 GB, free: 2.242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.1433, allocations: 84.05 kB / 0.5663 GB, free: 2.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1433, allocations: 27.64 kB / 0.5663 GB, free: 2.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.1433, allocations: 21.72 kB / 0.5663 GB, free: 2.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.1434, allocations: 310.8 kB / 0.5666 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.1434, allocations: 15.98 kB / 0.5667 GB, free: 1.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.1435, allocations: 53.14 kB / 0.5667 GB, free: 1.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.1436, allocations: 73.03 kB / 0.5668 GB, free: 1.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1436, allocations: 0 / 0.5668 GB, free: 1.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/0.1437, allocations: 101.7 kB / 0.5669 GB, free: 1.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1438, allocations: 4 kB / 0.5669 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1438, allocations: 3.984 kB / 0.5669 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1438, allocations: 8.125 kB / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.1439, allocations: 20 kB / 0.5669 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1439, allocations: 7.938 kB / 0.5669 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.1439, allocations: 3.938 kB / 0.5669 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1439, allocations: 4 kB / 0.5669 GB, free: 1.457 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.134e-05/0.144, allocations: 121.8 kB / 0.567 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.144, allocations: 4 kB / 0.567 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.1441, allocations: 11.91 kB / 0.5671 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1441, allocations: 0 / 0.5671 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1441, allocations: 4 kB / 0.5671 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1441, allocations: 3.938 kB / 0.5671 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1443, allocations: 173.7 kB / 0.5672 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1443, allocations: 0 / 0.5672 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.1444, allocations: 16 kB / 0.5672 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1444, allocations: 3.984 kB / 0.5672 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1444, allocations: 0 / 0.5672 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1444, allocations: 0 / 0.5672 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1444, allocations: 0 / 0.5672 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1446, allocations: 183.3 kB / 0.5674 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1447, allocations: 81.14 kB / 0.5675 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1447, allocations: 0 / 0.5675 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1448, allocations: 8 kB / 0.5675 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.1448, allocations: 11.92 kB / 0.5675 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1448, allocations: 0 / 0.5675 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.141e-05/0.1449, allocations: 79.28 kB / 0.5676 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1449, allocations: 0 / 0.5676 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1451, allocations: 12 kB / 0.5676 GB, free: 0.6641 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.000371/0.1455, allocations: 0.7106 MB / 0.5683 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.1456, allocations: 43.86 kB / 0.5683 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1456, allocations: 256 / 0.5683 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.1456, allocations: 27.92 kB / 0.5684 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1459, allocations: 13.66 kB / 0.5684 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1471, allocations: 1.594 MB / 0.5699 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.1473, allocations: 0.6824 MB / 0.5706 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.1474, allocations: 11.98 kB / 0.5706 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.1474, allocations: 11.44 kB / 0.5706 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1474, allocations: 0 / 0.5706 GB, free: 13.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/1.209, allocations: 1.448 MB / 0.572 GB, free: 12.11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.21, allocations: 207.6 kB / 0.5722 GB, free: 11.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/3.269, allocations: 0 / 0.5722 GB, free: 11.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)