Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001251/0.001251, 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.001217/0.001216, allocations: 210 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.307/1.307, 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.6941/0.6941, allocations: 115.3 MB / 406 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.22 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 76.18 MB / 0.5559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002734/0.1497, allocations: 1.35 MB / 0.5572 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1509, allocations: 0.6474 MB / 0.5578 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.151, allocations: 0 / 0.5578 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.151, allocations: 3.938 kB / 0.5578 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.1511, allocations: 0 / 0.5578 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.1516, allocations: 91.62 kB / 0.5579 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.1517, allocations: 23.92 kB / 0.5579 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1517, allocations: 4 kB / 0.5579 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.1518, allocations: 7.938 kB / 0.5579 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.1518, allocations: 11.98 kB / 0.558 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1519, allocations: 8 kB / 0.558 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.1522, allocations: 151.7 kB / 0.5581 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1522, allocations: 3.984 kB / 0.5581 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1522, allocations: 11.94 kB / 0.5581 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1524, allocations: 108 kB / 0.5582 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1525, allocations: 0 / 0.5582 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1525, allocations: 0 / 0.5582 GB, free: 8.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1525, allocations: 0 / 0.5582 GB, free: 8.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004527/0.1529, allocations: 351.5 kB / 0.5586 GB, free: 7.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.153, allocations: 12.03 kB / 0.5586 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.153, allocations: 34.69 kB / 0.5586 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.1535, allocations: 32.8 kB / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1537, allocations: 160.4 kB / 0.5588 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1537, allocations: 4.375 kB / 0.5588 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1537, allocations: 4.375 kB / 0.5588 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1539, allocations: 58.22 kB / 0.5588 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1539, allocations: 3.938 kB / 0.5589 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1539, allocations: 0 / 0.5589 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.154, allocations: 3.938 kB / 0.5589 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1541, allocations: 27.97 kB / 0.5589 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1543, allocations: 165.7 kB / 0.559 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.1547, allocations: 66.53 kB / 0.5591 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.1548, allocations: 28.94 kB / 0.5591 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1548, allocations: 0 / 0.5591 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1548, allocations: 34.56 kB / 0.5592 GB, free: 7.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/0.1548, allocations: 3.938 kB / 0.5592 GB, free: 7.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003701/0.1585, allocations: 0.5879 MB / 0.5597 GB, free: 6.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1586, allocations: 59.39 kB / 0.5598 GB, free: 6.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1587, allocations: 97.86 kB / 0.5599 GB, free: 6.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1587, allocations: 25.7 kB / 0.5599 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.1588, allocations: 80.14 kB / 0.56 GB, free: 6.258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1588, allocations: 19.72 kB / 0.56 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.1589, allocations: 25.69 kB / 0.56 GB, free: 6.207 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.159, allocations: 310.8 kB / 0.5603 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1591, allocations: 40.09 kB / 0.5604 GB, free: 5.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1593, allocations: 43.95 kB / 0.5604 GB, free: 5.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1596, allocations: 72.83 kB / 0.5605 GB, free: 5.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1596, allocations: 4 kB / 0.5605 GB, free: 5.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003623/0.1599, allocations: 125.5 kB / 0.5606 GB, free: 5.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.16, allocations: 8 kB / 0.5606 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.16, allocations: 7.922 kB / 0.5606 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.16, allocations: 0 / 0.5606 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1602, allocations: 23.97 kB / 0.5606 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1602, allocations: 4 kB / 0.5606 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1604, allocations: 4 kB / 0.5607 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1604, allocations: 3.984 kB / 0.5607 GB, free: 5.555 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 (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 prepare postOptimizeDAE: time 0.0001177/0.1605, allocations: 113.8 kB / 0.5608 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1606, allocations: 7.844 kB / 0.5608 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.1607, allocations: 15.97 kB / 0.5608 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1607, allocations: 3.938 kB / 0.5608 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1607, allocations: 0 / 0.5608 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1607, allocations: 0 / 0.5608 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1609, allocations: 187.7 kB / 0.561 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1609, allocations: 0 / 0.561 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1611, allocations: 27.91 kB / 0.561 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1611, allocations: 4 kB / 0.561 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1611, allocations: 3.984 kB / 0.561 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1611, allocations: 0 / 0.561 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1612, allocations: 0 / 0.561 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.1617, allocations: 193 kB / 0.5612 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1618, allocations: 84.98 kB / 0.5613 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1618, allocations: 0 / 0.5613 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.162, allocations: 12.14 kB / 0.5613 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.162, allocations: 3.938 kB / 0.5613 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1621, allocations: 15.98 kB / 0.5613 GB, free: 4.801 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1622, allocations: 79.34 kB / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1622, allocations: 4 kB / 0.5614 GB, free: 4.719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1624, allocations: 27.94 kB / 0.5614 GB, free: 4.691 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0009726/0.1634, allocations: 0.7569 MB / 0.5621 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1638, allocations: 92.16 kB / 0.5622 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1638, allocations: 0 / 0.5622 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1639, allocations: 43.95 kB / 0.5623 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1642, allocations: 12.14 kB / 0.5623 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1664, allocations: 1.37 MB / 0.5636 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1667, allocations: 0.6809 MB / 0.5643 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.1669, allocations: 27.98 kB / 0.5643 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.167, allocations: 15.42 kB / 0.5643 GB, free: 1.559 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.167, allocations: 4 kB / 0.5643 GB, free: 1.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2708/0.4378, allocations: 2.289 MB / 0.5666 GB, free: 15.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.4381, allocations: 259.1 kB / 0.5668 GB, free: 15.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.465, allocations: 0 / 0.5668 GB, free: 15.21 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)