Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001544/0.001544, allocations: 105.7 kB / 16.41 MB, free: 6.445 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.001691/0.001691, allocations: 189.2 kB / 17.34 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.571/1.571, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7488/0.7488, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.28 kB / 0.568 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.148, allocations: 77.93 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002161/0.1502, allocations: 1.256 MB / 0.6453 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1518, allocations: 0.8744 MB / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.1518, allocations: 0 / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.1518, allocations: 0 / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.1519, allocations: 7.922 kB / 0.6461 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.1525, allocations: 201.8 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.1526, allocations: 15.88 kB / 0.6464 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.1526, allocations: 0 / 0.6464 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.1526, allocations: 11.92 kB / 0.6464 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.1527, allocations: 11.98 kB / 0.6464 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.1527, allocations: 0 / 0.6464 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.1531, allocations: 233.6 kB / 0.6466 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.1531, allocations: 8 kB / 0.6466 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.1531, allocations: 7.938 kB / 0.6466 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1534, allocations: 151.7 kB / 0.6468 GB, free: 6.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1534, allocations: 0 / 0.6468 GB, free: 6.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1534, allocations: 4 kB / 0.6468 GB, free: 6.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1534, allocations: 0 / 0.6468 GB, free: 6.762 MB / 494.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.0004203/0.1538, allocations: 367.1 kB / 0.6471 GB, free: 6.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1539, allocations: 8.625 kB / 0.6471 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.1539, allocations: 34.73 kB / 0.6472 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.1541, allocations: 4.938 kB / 0.6472 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1542, allocations: 172.3 kB / 0.6473 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1542, allocations: 4.375 kB / 0.6473 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1542, allocations: 7.938 kB / 0.6473 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1543, allocations: 41.69 kB / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1544, allocations: 0 / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1544, allocations: 0 / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1544, allocations: 0 / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.1544, allocations: 19.98 kB / 0.6474 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.1546, allocations: 157.6 kB / 0.6475 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.1555, allocations: 142.5 kB / 0.6477 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.1556, allocations: 24.86 kB / 0.6477 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1557, allocations: 85.09 kB / 0.6478 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1557, allocations: 30.56 kB / 0.6478 GB, free: 5.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1557, allocations: 0 / 0.6478 GB, free: 5.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.1559, allocations: 65.69 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1559, allocations: 55.41 kB / 0.6479 GB, free: 5.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.156, allocations: 97.78 kB / 0.648 GB, free: 5.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.156, allocations: 25.7 kB / 0.648 GB, free: 5.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.156, allocations: 80.14 kB / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1561, allocations: 19.84 kB / 0.6481 GB, free: 5.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1561, allocations: 13.72 kB / 0.6482 GB, free: 5.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.1562, allocations: 315 kB / 0.6485 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.1562, allocations: 15.94 kB / 0.6485 GB, free: 4.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.1563, allocations: 8 kB / 0.6485 GB, free: 4.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.1563, allocations: 28.84 kB / 0.6485 GB, free: 4.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1563, allocations: 0 / 0.6485 GB, free: 4.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.431e-05/0.1564, allocations: 57.58 kB / 0.6486 GB, free: 4.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1564, allocations: 4 kB / 0.6486 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1565, allocations: 3.938 kB / 0.6486 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1565, allocations: 0 / 0.6486 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.1565, allocations: 12 kB / 0.6486 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1565, allocations: 0 / 0.6486 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.1566, allocations: 4 kB / 0.6486 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1566, allocations: 4 kB / 0.6486 GB, free: 4.641 MB / 494.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 (4): * Single equations (assignments): 4 * 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.54e-05/0.1567, allocations: 109.8 kB / 0.6487 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.1567, allocations: 3.984 kB / 0.6487 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1569, allocations: 81.17 kB / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1569, allocations: 0 / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1569, allocations: 0 / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1569, allocations: 0 / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1571, allocations: 169.5 kB / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1571, allocations: 0 / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.1572, allocations: 8 kB / 0.6489 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1572, allocations: 0 / 0.6489 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1572, allocations: 0 / 0.6489 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1572, allocations: 3.938 kB / 0.6489 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1572, allocations: 4 kB / 0.649 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1573, allocations: 97.12 kB / 0.649 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.1574, allocations: 85.11 kB / 0.6491 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1574, allocations: 0 / 0.6491 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.1574, allocations: 336 / 0.6491 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1575, allocations: 7.984 kB / 0.6491 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1575, allocations: 0 / 0.6491 GB, free: 3.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.1575, allocations: 79.28 kB / 0.6492 GB, free: 3.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1575, allocations: 3.938 kB / 0.6492 GB, free: 3.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1578, allocations: 51.88 kB / 0.6493 GB, free: 3.844 MB / 494.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 (5): * Single equations (assignments): 5 * 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.0005831/0.1583, allocations: 0.6986 MB / 0.6499 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1585, allocations: 27.94 kB / 0.65 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1585, allocations: 4 kB / 0.65 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.1585, allocations: 15.98 kB / 0.65 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.1587, allocations: 5.719 kB / 0.65 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.1591, allocations: 172.1 kB / 0.6502 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1593, allocations: 0.6768 MB / 0.6508 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.1594, allocations: 8 kB / 0.6508 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1594, allocations: 11.44 kB / 0.6508 GB, free: 2.141 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1594, allocations: 0 / 0.6508 GB, free: 2.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.1757, allocations: 1.976 MB / 0.6528 GB, free: 280 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.822, allocations: 10.66 kB / 0.6528 GB, free: 272 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)