Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.0007378/0.0007379, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007942/0.0007943, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.182/1.182, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6055/0.6055, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 8 kB / 493.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001282/0.1261, allocations: 0.9744 MB / 0.5578 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004733/0.1266, allocations: 281.4 kB / 0.5581 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.1266, allocations: 0 / 0.5581 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-06/0.1266, allocations: 0 / 0.5581 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.1267, allocations: 11.92 kB / 0.5581 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1269, allocations: 43.53 kB / 0.5582 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.1269, allocations: 15.94 kB / 0.5582 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.127, allocations: 4 kB / 0.5582 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.127, allocations: 11.94 kB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.1271, allocations: 3.984 kB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1271, allocations: 4 kB / 0.5582 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1272, allocations: 51.95 kB / 0.5583 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.1272, allocations: 0 / 0.5583 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.1272, allocations: 29.64 kB / 0.5583 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.406e-05/0.1273, allocations: 48.11 kB / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1273, allocations: 0 / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1273, allocations: 4 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.1273, allocations: 0 / 0.5583 GB, free: 10.21 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.0003166/0.1277, allocations: 323.4 kB / 0.5586 GB, free: 9.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1277, allocations: 8.031 kB / 0.5586 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.1278, allocations: 34.56 kB / 0.5587 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.128, allocations: 19.97 kB / 0.5587 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1281, allocations: 171 kB / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1281, allocations: 0 / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1281, allocations: 3.953 kB / 0.5589 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1282, allocations: 41.69 kB / 0.5589 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1282, allocations: 4 kB / 0.5589 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1282, allocations: 0 / 0.5589 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1282, allocations: 0 / 0.5589 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.1283, allocations: 19.92 kB / 0.5589 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.1285, allocations: 165.6 kB / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.13, allocations: 266.4 kB / 0.5593 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.13, allocations: 16.86 kB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.13, allocations: 4 kB / 0.5594 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1301, allocations: 38.52 kB / 0.5594 GB, free: 8.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1301, allocations: 4 kB / 0.5594 GB, free: 8.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001426/0.1302, allocations: 65.56 kB / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.1303, allocations: 55.41 kB / 0.5595 GB, free: 8.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.1303, allocations: 93.84 kB / 0.5596 GB, free: 8.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1303, allocations: 25.7 kB / 0.5596 GB, free: 8.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.1304, allocations: 80.14 kB / 0.5597 GB, free: 8.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1304, allocations: 7.906 kB / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.1304, allocations: 4 kB / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.1305, allocations: 318.9 kB / 0.56 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.1305, allocations: 7.984 kB / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.1305, allocations: 8 kB / 0.56 GB, free: 8.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.1306, allocations: 12 kB / 0.56 GB, free: 8.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1306, allocations: 0 / 0.56 GB, free: 8.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.299e-05/0.1307, allocations: 57.53 kB / 0.5601 GB, free: 8.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1307, allocations: 11.95 kB / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1307, allocations: 0 / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1307, allocations: 0 / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.1308, allocations: 4 kB / 0.5601 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1308, allocations: 4 kB / 0.5601 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.1308, allocations: 4 kB / 0.5601 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.1308, allocations: 0 / 0.5601 GB, free: 8.148 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.1309, allocations: 114.5 kB / 0.5602 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.1309, allocations: 4.328 kB / 0.5602 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.1309, allocations: 11.45 kB / 0.5603 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1309, allocations: 3.984 kB / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1309, allocations: 0 / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.131, allocations: 0 / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/0.1311, allocations: 165.6 kB / 0.5604 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1311, allocations: 4 kB / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.1311, allocations: 7.938 kB / 0.5604 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1311, allocations: 0 / 0.5604 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1311, allocations: 4 kB / 0.5604 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1311, allocations: 3.953 kB / 0.5604 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1311, allocations: 0 / 0.5604 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.323e-05/0.1312, allocations: 81.12 kB / 0.5605 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1313, allocations: 85 kB / 0.5606 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.1313, allocations: 4 kB / 0.5606 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.1314, allocations: 0 / 0.5606 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.1314, allocations: 7.953 kB / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1314, allocations: 0 / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.779e-05/0.1314, allocations: 83.27 kB / 0.5607 GB, free: 7.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1314, allocations: 0 / 0.5607 GB, free: 7.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.1316, allocations: 11.94 kB / 0.5607 GB, free: 7.465 MB / 430.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003047/0.1319, allocations: 0.6171 MB / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.204e-05/0.132, allocations: 23.98 kB / 0.5613 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.132, allocations: 0 / 0.5613 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.132, allocations: 15.94 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1322, allocations: 17.97 kB / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.1326, allocations: 162.3 kB / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.1328, allocations: 0.6731 MB / 0.5622 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.676e-05/0.1328, allocations: 7.984 kB / 0.5622 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.1329, allocations: 11.44 kB / 0.5622 GB, free: 5.84 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1329, allocations: 0 / 0.5622 GB, free: 5.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009429/0.1423, allocations: 1.082 MB / 0.5632 GB, free: 4.906 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.1425, allocations: 194.2 kB / 0.5634 GB, free: 4.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.406/1.548, allocations: 3.938 kB / 0.5634 GB, free: 4.66 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: