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.001427/0.001427, allocations: 108.1 kB / 15.99 MB, free: 5.871 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.001626/0.001626, allocations: 198.5 kB / 16.91 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6825/0.6825, allocations: 115.3 MB / 406.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 493.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1494, allocations: 76.2 MB / 0.5561 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002736/0.1522, allocations: 1.337 MB / 0.5574 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.1532, allocations: 0.5694 MB / 0.5579 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1533, allocations: 0 / 0.5579 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.1533, allocations: 4 kB / 0.5579 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.202e-05/0.1534, allocations: 3.938 kB / 0.5579 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1539, allocations: 91.69 kB / 0.558 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.1539, allocations: 15.88 kB / 0.558 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.154, allocations: 4 kB / 0.558 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.154, allocations: 7.984 kB / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.1541, allocations: 7.938 kB / 0.558 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1541, allocations: 4 kB / 0.558 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1544, allocations: 147.7 kB / 0.5582 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.1544, allocations: 0 / 0.5582 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.1545, allocations: 7.938 kB / 0.5582 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1547, allocations: 100 kB / 0.5583 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1547, allocations: 4 kB / 0.5583 GB, free: 8.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1547, allocations: 0 / 0.5583 GB, free: 8.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1547, allocations: 0 / 0.5583 GB, free: 8.277 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.0003546/0.1551, allocations: 339.5 kB / 0.5586 GB, free: 7.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1551, allocations: 11.97 kB / 0.5586 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.1552, allocations: 30.75 kB / 0.5587 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.1556, allocations: 32.81 kB / 0.5587 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1557, allocations: 172.4 kB / 0.5589 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1557, allocations: 4.375 kB / 0.5589 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1557, allocations: 384 / 0.5589 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1559, allocations: 46.23 kB / 0.5589 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1559, allocations: 3.938 kB / 0.5589 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1559, allocations: 3.938 kB / 0.5589 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1559, allocations: 0 / 0.5589 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1561, allocations: 27.97 kB / 0.5589 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1562, allocations: 153.7 kB / 0.5591 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1564, allocations: 42.58 kB / 0.5591 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.1565, allocations: 16.91 kB / 0.5591 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1565, allocations: 8 kB / 0.5592 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.1565, allocations: 30.56 kB / 0.5592 GB, free: 7.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1565, allocations: 0 / 0.5592 GB, free: 7.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002881/0.1568, allocations: 77.53 kB / 0.5593 GB, free: 7.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1569, allocations: 51.41 kB / 0.5593 GB, free: 7.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.1569, allocations: 101.9 kB / 0.5594 GB, free: 6.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.157, allocations: 29.7 kB / 0.5594 GB, free: 6.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.157, allocations: 80.14 kB / 0.5595 GB, free: 6.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.157, allocations: 7.891 kB / 0.5595 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.1571, allocations: 13.72 kB / 0.5595 GB, free: 6.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.1572, allocations: 314.8 kB / 0.5598 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.1572, allocations: 11.98 kB / 0.5598 GB, free: 6.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.1573, allocations: 15.98 kB / 0.5599 GB, free: 6.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1574, allocations: 32.78 kB / 0.5599 GB, free: 6.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1574, allocations: 0 / 0.5599 GB, free: 6.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.1576, allocations: 57.66 kB / 0.5599 GB, free: 6.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1576, allocations: 12.03 kB / 0.5599 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1576, allocations: 4 kB / 0.56 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1576, allocations: 0 / 0.56 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1578, allocations: 8 kB / 0.56 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1578, allocations: 3.984 kB / 0.56 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.1578, allocations: 11.88 kB / 0.56 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1579, allocations: 0 / 0.56 GB, free: 6.32 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 7.64e-05/0.1579, allocations: 105.8 kB / 0.5601 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.158, allocations: 15.84 kB / 0.5601 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.158, allocations: 3.125 kB / 0.5601 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.158, allocations: 3.984 kB / 0.5601 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.158, allocations: 0 / 0.5601 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.158, allocations: 0 / 0.5601 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1582, allocations: 161.7 kB / 0.5603 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1582, allocations: 0 / 0.5603 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.1583, allocations: 15.92 kB / 0.5603 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1583, allocations: 7.938 kB / 0.5603 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1583, allocations: 0 / 0.5603 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1583, allocations: 0 / 0.5603 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1583, allocations: 0 / 0.5603 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1585, allocations: 81.11 kB / 0.5604 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.1586, allocations: 85.09 kB / 0.5604 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1586, allocations: 7.969 kB / 0.5604 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.1587, allocations: 7.984 kB / 0.5604 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1587, allocations: 192 / 0.5604 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1587, allocations: 0 / 0.5604 GB, free: 5.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.1587, allocations: 83.27 kB / 0.5605 GB, free: 5.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1587, allocations: 0 / 0.5605 GB, free: 5.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1589, allocations: 12 kB / 0.5605 GB, free: 5.648 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.0004867/0.1594, allocations: 0.6396 MB / 0.5612 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1596, allocations: 31.97 kB / 0.5612 GB, free: 4.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1596, allocations: 8.094 kB / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/0.1597, allocations: 15.92 kB / 0.5612 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1599, allocations: 8 kB / 0.5612 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.1604, allocations: 152.2 kB / 0.5614 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1606, allocations: 0.6807 MB / 0.562 GB, free: 4.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.687e-05/0.1607, allocations: 11.94 kB / 0.562 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.1608, allocations: 10.56 kB / 0.5621 GB, free: 4 MB / 430.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1608, allocations: 0 / 0.5621 GB, free: 4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/0.3719, allocations: 1.468 MB / 0.5635 GB, free: 2.703 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/0.3722, allocations: 224.8 kB / 0.5637 GB, free: 2.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.084, allocations: 0 / 0.5637 GB, free: 2.445 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)