Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.004873/0.004873, allocations: 101 kB / 15.87 MB, free: 6.312 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.0012/0.0012, allocations: 195 kB / 16.79 MB, free: 6.242 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6967/0.6967, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.12 kB / 493 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1462, allocations: 76.18 MB / 0.5559 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002753/0.149, allocations: 1.304 MB / 0.5571 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000564/0.1496, allocations: 239.3 kB / 0.5574 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.1496, allocations: 8 kB / 0.5574 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.1497, allocations: 0 / 0.5574 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.1498, allocations: 3.938 kB / 0.5574 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1501, allocations: 27.89 kB / 0.5574 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.1501, allocations: 15.94 kB / 0.5574 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.1502, allocations: 11.97 kB / 0.5574 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.1502, allocations: 11.94 kB / 0.5574 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.1503, allocations: 7.984 kB / 0.5574 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1503, allocations: 0 / 0.5574 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1504, allocations: 47.97 kB / 0.5575 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1505, allocations: 7.984 kB / 0.5575 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.1505, allocations: 11.92 kB / 0.5575 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1507, allocations: 32.25 kB / 0.5575 GB, free: 8.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1507, allocations: 0 / 0.5575 GB, free: 8.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1507, allocations: 0 / 0.5575 GB, free: 8.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1507, allocations: 0 / 0.5575 GB, free: 8.938 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004497/0.1511, allocations: 335.5 kB / 0.5579 GB, free: 8.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1512, allocations: 12.02 kB / 0.5579 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/0.1513, allocations: 42.75 kB / 0.5579 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1515, allocations: 8.875 kB / 0.5579 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1516, allocations: 168.4 kB / 0.5581 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1516, allocations: 384 / 0.5581 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1517, allocations: 384 / 0.5581 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1518, allocations: 54.19 kB / 0.5581 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1519, allocations: 11.92 kB / 0.5581 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1519, allocations: 3.938 kB / 0.5581 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1519, allocations: 0 / 0.5581 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.646e-05/0.152, allocations: 19.98 kB / 0.5582 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.1522, allocations: 157.6 kB / 0.5583 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1523, allocations: 42.64 kB / 0.5584 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.1524, allocations: 20.97 kB / 0.5584 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1524, allocations: 4 kB / 0.5584 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.1524, allocations: 34.5 kB / 0.5584 GB, free: 7.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1525, allocations: 4 kB / 0.5584 GB, free: 7.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.002436/0.1549, allocations: 0.498 MB / 0.5589 GB, free: 7.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.1549, allocations: 55.41 kB / 0.559 GB, free: 7.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.328e-05/0.155, allocations: 89.86 kB / 0.559 GB, free: 7.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.155, allocations: 25.7 kB / 0.5591 GB, free: 7.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.155, allocations: 84.14 kB / 0.5591 GB, free: 7.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.1551, allocations: 27.56 kB / 0.5592 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1551, allocations: 21.7 kB / 0.5592 GB, free: 6.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1552, allocations: 314.8 kB / 0.5595 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.1553, allocations: 23.98 kB / 0.5595 GB, free: 6.637 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.1554, allocations: 24 kB / 0.5595 GB, free: 6.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/0.1555, allocations: 60.78 kB / 0.5596 GB, free: 6.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1555, allocations: 0 / 0.5596 GB, free: 6.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001471/0.1556, allocations: 97.75 kB / 0.5597 GB, free: 6.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1556, allocations: 4.094 kB / 0.5597 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1557, allocations: 3.938 kB / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1557, allocations: 4 kB / 0.5597 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1558, allocations: 12 kB / 0.5597 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1558, allocations: 0 / 0.5597 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.1559, allocations: 7.984 kB / 0.5597 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1559, allocations: 4 kB / 0.5597 GB, free: 6.414 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 (9): * Single equations (assignments): 9 * 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 8.338e-05/0.156, allocations: 117.8 kB / 0.5598 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.156, allocations: 3.938 kB / 0.5598 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1561, allocations: 15.97 kB / 0.5599 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1561, allocations: 0 / 0.5599 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1561, allocations: 0 / 0.5599 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1561, allocations: 0 / 0.5599 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1562, allocations: 175.5 kB / 0.56 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1563, allocations: 448 / 0.56 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1564, allocations: 19.88 kB / 0.56 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1564, allocations: 11.98 kB / 0.5601 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1564, allocations: 4 kB / 0.5601 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1564, allocations: 0 / 0.5601 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1564, allocations: 0 / 0.5601 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.1568, allocations: 141 kB / 0.5602 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.1568, allocations: 85.08 kB / 0.5603 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1569, allocations: 0 / 0.5603 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.157, allocations: 12.06 kB / 0.5603 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.157, allocations: 3.984 kB / 0.5603 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.157, allocations: 4 kB / 0.5603 GB, free: 5.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1571, allocations: 79.22 kB / 0.5604 GB, free: 5.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 0 / 0.5604 GB, free: 5.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.1573, allocations: 16 kB / 0.5604 GB, free: 5.645 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 (8): * Single equations (assignments): 8 * 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.000554/0.1578, allocations: 0.6827 MB / 0.5611 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.158, allocations: 59.92 kB / 0.5611 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.158, allocations: 0 / 0.5611 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.1581, allocations: 31.98 kB / 0.5611 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1583, allocations: 8.188 kB / 0.5611 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1597, allocations: 1.269 MB / 0.5624 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1599, allocations: 0.6809 MB / 0.5631 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.189e-05/0.16, allocations: 15.98 kB / 0.5631 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.1601, allocations: 17.27 kB / 0.5631 GB, free: 2.746 MB / 430.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1601, allocations: 0 / 0.5631 GB, free: 2.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2762/0.4363, allocations: 1.471 MB / 0.5645 GB, free: 1.469 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/0.4366, allocations: 253.8 kB / 0.5648 GB, free: 1.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.458, allocations: 6.75 kB / 0.5648 GB, free: 1.215 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)