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.001277/0.001277, allocations: 101.7 kB / 16.4 MB, free: 5.969 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.001307/0.001307, allocations: 198.7 kB / 17.34 MB, free: 5.578 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7951/0.7951, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.08 kB / 0.5726 GB, free: 27.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 78.7 MB / 0.6494 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002157/0.1411, allocations: 1.25 MB / 0.6507 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1426, allocations: 0.8865 MB / 0.6515 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.1426, allocations: 0 / 0.6515 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.1426, allocations: 0 / 0.6515 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.276e-05/0.1427, allocations: 3.938 kB / 0.6515 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.1435, allocations: 198 kB / 0.6517 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.1436, allocations: 19.86 kB / 0.6517 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1436, allocations: 4 kB / 0.6517 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.1437, allocations: 15.92 kB / 0.6518 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.1437, allocations: 4 kB / 0.6518 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1438, allocations: 4 kB / 0.6518 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.1442, allocations: 235.7 kB / 0.652 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1442, allocations: 4 kB / 0.652 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1443, allocations: 15.86 kB / 0.652 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1446, allocations: 143.7 kB / 0.6522 GB, free: 1.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1446, allocations: 3.938 kB / 0.6522 GB, free: 1.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1446, allocations: 0 / 0.6522 GB, free: 1.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1446, allocations: 4 kB / 0.6522 GB, free: 1.797 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.0004633/0.1451, allocations: 367.1 kB / 0.6525 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1452, allocations: 8.031 kB / 0.6525 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1452, allocations: 34.75 kB / 0.6526 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1454, allocations: 12.92 kB / 0.6526 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1455, allocations: 164.3 kB / 0.6527 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1455, allocations: 384 / 0.6527 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1455, allocations: 3.938 kB / 0.6527 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1457, allocations: 49.67 kB / 0.6528 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1457, allocations: 0 / 0.6528 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1457, allocations: 0 / 0.6528 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1457, allocations: 4 kB / 0.6528 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.1458, allocations: 16 kB / 0.6528 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.146, allocations: 153.7 kB / 0.6529 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.1469, allocations: 142.5 kB / 0.6531 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.1469, allocations: 20.84 kB / 0.6531 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.147, allocations: 81.11 kB / 0.6532 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.147, allocations: 30.56 kB / 0.6532 GB, free: 0.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1471, allocations: 0 / 0.6532 GB, free: 0.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001754/0.1472, allocations: 65.67 kB / 0.6533 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1473, allocations: 63.34 kB / 0.6533 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.1473, allocations: 89.86 kB / 0.6534 GB, free: 308 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1474, allocations: 25.7 kB / 0.6534 GB, free: 276 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.1474, allocations: 80.14 kB / 0.6535 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1474, allocations: 27.77 kB / 0.6535 GB, free: 164 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1475, allocations: 17.7 kB / 0.6536 GB, free: 140 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1476, allocations: 314.8 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.1476, allocations: 4 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.1476, allocations: 16.11 kB / 0.6539 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.1477, allocations: 29.12 kB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1477, allocations: 0 / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.059e-05/0.1478, allocations: 65.52 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1478, allocations: 6.188 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1478, allocations: 0 / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1478, allocations: 0 / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.1479, allocations: 11.98 kB / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1479, allocations: 0 / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.1479, allocations: 0 / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.148, allocations: 11.94 kB / 0.654 GB, free: 15.67 MB / 0.4981 GB 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 7.166e-05/0.148, allocations: 113.1 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.1481, allocations: 4 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.1483, allocations: 77.11 kB / 0.6542 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1483, allocations: 4 kB / 0.6542 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1483, allocations: 0 / 0.6542 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1483, allocations: 0 / 0.6542 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1485, allocations: 161.6 kB / 0.6543 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1485, allocations: 0 / 0.6543 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.1485, allocations: 15.98 kB / 0.6543 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1485, allocations: 0 / 0.6543 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1485, allocations: 0 / 0.6543 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1485, allocations: 0 / 0.6543 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1486, allocations: 0 / 0.6543 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.1487, allocations: 97.08 kB / 0.6544 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1488, allocations: 85.09 kB / 0.6545 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1488, allocations: 0 / 0.6545 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.1489, allocations: 0 / 0.6545 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.1489, allocations: 7.938 kB / 0.6545 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.1489, allocations: 4 kB / 0.6545 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.149, allocations: 75.28 kB / 0.6546 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.149, allocations: 8.031 kB / 0.6546 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004407/0.1494, allocations: 51.86 kB / 0.6547 GB, free: 14.88 MB / 0.4981 GB 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.0006737/0.1501, allocations: 0.685 MB / 0.6553 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.1502, allocations: 39.86 kB / 0.6554 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1503, allocations: 0 / 0.6554 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.1503, allocations: 12 kB / 0.6554 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.1505, allocations: 7.984 kB / 0.6554 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.1509, allocations: 164.2 kB / 0.6555 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1511, allocations: 0.6768 MB / 0.6562 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.6e-05/0.1512, allocations: 15.97 kB / 0.6562 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1512, allocations: 15.44 kB / 0.6562 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1512, allocations: 3.938 kB / 0.6562 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1686, allocations: 1.967 MB / 0.6582 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/7.873, allocations: 12.05 kB / 0.6582 GB, free: 11.32 MB / 0.4981 GB (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)