Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001161/0.001161, allocations: 100.1 kB / 15.88 MB, free: 12 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.001185/0.001186, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.3/1.3, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6505/0.6505, allocations: 115.3 MB / 405.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 56.06 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 76.19 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002284/0.1373, allocations: 1.339 MB / 0.5572 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.1382, allocations: 0.5773 MB / 0.5577 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.1383, allocations: 0 / 0.5577 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1383, allocations: 3.938 kB / 0.5577 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.1384, allocations: 7.984 kB / 0.5577 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1387, allocations: 79.64 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.1387, allocations: 23.88 kB / 0.5578 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.1388, allocations: 0 / 0.5578 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.1388, allocations: 4 kB / 0.5578 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.1388, allocations: 11.92 kB / 0.5578 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1389, allocations: 0 / 0.5578 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1391, allocations: 151.7 kB / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.1391, allocations: 4 kB / 0.558 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1392, allocations: 7.938 kB / 0.558 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1393, allocations: 84.12 kB / 0.5581 GB, free: 8.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1393, allocations: 8 kB / 0.5581 GB, free: 8.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1393, allocations: 0 / 0.5581 GB, free: 8.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1393, allocations: 0 / 0.5581 GB, free: 8.441 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003112/0.1397, allocations: 347.5 kB / 0.5584 GB, free: 8.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1397, allocations: 11.97 kB / 0.5584 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.618e-05/0.1397, allocations: 38.69 kB / 0.5585 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.1401, allocations: 28.81 kB / 0.5585 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/0.1402, allocations: 164.4 kB / 0.5587 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1403, allocations: 8.359 kB / 0.5587 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1403, allocations: 384 / 0.5587 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1404, allocations: 46.23 kB / 0.5587 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1404, allocations: 3.938 kB / 0.5587 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1404, allocations: 0 / 0.5587 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1405, allocations: 4 kB / 0.5587 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.1406, allocations: 27.97 kB / 0.5587 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1407, allocations: 153.7 kB / 0.5589 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1409, allocations: 42.48 kB / 0.5589 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.1409, allocations: 16.92 kB / 0.5589 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.141, allocations: 11.97 kB / 0.559 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.141, allocations: 30.56 kB / 0.559 GB, free: 7.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.141, allocations: 0 / 0.559 GB, free: 7.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002768/0.1413, allocations: 73.59 kB / 0.5591 GB, free: 7.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.1413, allocations: 55.34 kB / 0.5591 GB, free: 7.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.1414, allocations: 102 kB / 0.5592 GB, free: 7.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1414, allocations: 25.7 kB / 0.5592 GB, free: 7.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.1414, allocations: 80.14 kB / 0.5593 GB, free: 6.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1415, allocations: 7.906 kB / 0.5593 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1415, allocations: 17.7 kB / 0.5593 GB, free: 6.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.1416, allocations: 314.8 kB / 0.5596 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.1417, allocations: 7.984 kB / 0.5596 GB, free: 6.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.1417, allocations: 19.98 kB / 0.5597 GB, free: 6.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1418, allocations: 24.84 kB / 0.5597 GB, free: 6.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1418, allocations: 0 / 0.5597 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001615/0.142, allocations: 65.61 kB / 0.5597 GB, free: 6.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.142, allocations: 12.03 kB / 0.5598 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.142, allocations: 0 / 0.5598 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.1421, allocations: 0 / 0.5598 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.1422, allocations: 7.984 kB / 0.5598 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1422, allocations: 0 / 0.5598 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1422, allocations: 15.86 kB / 0.5598 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1423, allocations: 0 / 0.5598 GB, free: 6.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.388e-05/0.1423, allocations: 109.8 kB / 0.5599 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.1423, allocations: 12.03 kB / 0.5599 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.1424, allocations: 7.125 kB / 0.5599 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1424, allocations: 3.984 kB / 0.5599 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1424, allocations: 3.938 kB / 0.5599 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1424, allocations: 4 kB / 0.5599 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.1425, allocations: 157.7 kB / 0.5601 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1425, allocations: 0 / 0.5601 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.1426, allocations: 4 kB / 0.5601 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1426, allocations: 7.938 kB / 0.5601 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1426, allocations: 3.984 kB / 0.5601 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1426, allocations: 0 / 0.5601 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1426, allocations: 0 / 0.5601 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1428, allocations: 85.05 kB / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1429, allocations: 85.09 kB / 0.5602 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1429, allocations: 11.97 kB / 0.5603 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.143, allocations: 0 / 0.5603 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.143, allocations: 0 / 0.5603 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.143, allocations: 7.984 kB / 0.5603 GB, free: 5.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.954e-05/0.143, allocations: 75.28 kB / 0.5603 GB, free: 5.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 0.5603 GB, free: 5.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1432, allocations: 20 kB / 0.5603 GB, free: 5.797 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0004392/0.1437, allocations: 0.6339 MB / 0.561 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.1438, allocations: 27.97 kB / 0.561 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1438, allocations: 4.094 kB / 0.561 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.1439, allocations: 15.98 kB / 0.561 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.1441, allocations: 7.984 kB / 0.561 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.1445, allocations: 161.8 kB / 0.5612 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.1447, allocations: 0.6732 MB / 0.5618 GB, free: 4.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.371e-05/0.1448, allocations: 19.91 kB / 0.5619 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.1448, allocations: 11.44 kB / 0.5619 GB, free: 4.152 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1448, allocations: 0 / 0.5619 GB, free: 4.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2982/0.443, allocations: 1.41 MB / 0.5632 GB, free: 2.902 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.4433, allocations: 226.7 kB / 0.5635 GB, free: 2.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.325, allocations: 0 / 0.5635 GB, free: 2.645 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)