Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001325/0.001325, allocations: 104.7 kB / 16.4 MB, free: 6.465 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.001347/0.001347, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8169/0.8169, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 66.14 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 78.87 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002229/0.1394, allocations: 1.278 MB / 0.6518 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1405, allocations: 0.7652 MB / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.1406, allocations: 0 / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.1406, allocations: 3.984 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.1407, allocations: 15.86 kB / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.1411, allocations: 163.2 kB / 0.6527 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.1412, allocations: 23.88 kB / 0.6528 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1413, allocations: 3.984 kB / 0.6528 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.1413, allocations: 8 kB / 0.6528 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1414, allocations: 15.94 kB / 0.6528 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1414, allocations: 3.984 kB / 0.6528 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.1419, allocations: 291.5 kB / 0.6531 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1419, allocations: 0 / 0.6531 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.1419, allocations: 15.92 kB / 0.6531 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.1422, allocations: 163.8 kB / 0.6532 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1422, allocations: 4 kB / 0.6532 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1422, allocations: 0 / 0.6532 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1422, allocations: 3.938 kB / 0.6532 GB, free: 0.8125 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00046/0.1427, allocations: 371.1 kB / 0.6536 GB, free: 408 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1427, allocations: 8.031 kB / 0.6536 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1428, allocations: 38.69 kB / 0.6536 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.143, allocations: 20.91 kB / 0.6537 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1432, allocations: 164.3 kB / 0.6538 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1432, allocations: 384 / 0.6538 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1432, allocations: 4.375 kB / 0.6538 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1433, allocations: 50.23 kB / 0.6539 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1433, allocations: 7.938 kB / 0.6539 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1434, allocations: 4 kB / 0.6539 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1434, allocations: 0 / 0.6539 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.1434, allocations: 23.98 kB / 0.6539 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1436, allocations: 161.7 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1438, allocations: 62.59 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.1438, allocations: 24.89 kB / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1439, allocations: 11.98 kB / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1439, allocations: 30.56 kB / 0.6542 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1439, allocations: 0 / 0.6542 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0001929/0.1441, allocations: 89.5 kB / 0.6543 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1441, allocations: 51.41 kB / 0.6543 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.1442, allocations: 93.86 kB / 0.6544 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1442, allocations: 25.7 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.1443, allocations: 84.27 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1443, allocations: 15.91 kB / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1443, allocations: 21.7 kB / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1445, allocations: 310.8 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.1445, allocations: 12 kB / 0.6549 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.1445, allocations: 19.92 kB / 0.6549 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.1446, allocations: 36.8 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1446, allocations: 0 / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001068/0.1447, allocations: 69.58 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1448, allocations: 17.66 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1448, allocations: 3.984 kB / 0.655 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1448, allocations: 0 / 0.655 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1449, allocations: 15.98 kB / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1449, allocations: 0 / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.145, allocations: 3.938 kB / 0.655 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.145, allocations: 4 kB / 0.655 GB, free: 14.76 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 (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 prepare postOptimizeDAE: time 7.932e-05/0.1451, allocations: 113.8 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.1451, allocations: 7.938 kB / 0.6551 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1453, allocations: 85.58 kB / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1453, allocations: 448 / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1453, allocations: 0 / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1453, allocations: 0 / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1455, allocations: 173.6 kB / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1455, allocations: 0 / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1456, allocations: 19.98 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1456, allocations: 7.938 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1456, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1456, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1456, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1458, allocations: 101 kB / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.1458, allocations: 77.11 kB / 0.6556 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.1459, allocations: 11.92 kB / 0.6556 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.1459, allocations: 0 / 0.6556 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.146, allocations: 8 kB / 0.6556 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.146, allocations: 4 kB / 0.6556 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.146, allocations: 75.28 kB / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.146, allocations: 0 / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001918/0.1462, allocations: 8 kB / 0.6557 GB, free: 13.97 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 (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 Backend phase and start with SimCode phase: time 0.0004325/0.1466, allocations: 0.6399 MB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1468, allocations: 48.03 kB / 0.6563 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1468, allocations: 0 / 0.6563 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1468, allocations: 31.86 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1471, allocations: 4 kB / 0.6564 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1475, allocations: 160.3 kB / 0.6565 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1478, allocations: 0.6884 MB / 0.6572 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.503e-05/0.1478, allocations: 3.984 kB / 0.6572 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1479, allocations: 11.44 kB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1479, allocations: 0 / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1677, allocations: 1.436 MB / 0.6586 GB, free: 11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.46, allocations: 13.64 kB / 0.6586 GB, free: 11 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_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_comparison.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)