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.001021/0.001021, allocations: 100.1 kB / 15.88 MB, free: 12 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.0009846/0.0009843, allocations: 209.8 kB / 16.79 MB, free: 6.84 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.26/1.26, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6583/0.6583, allocations: 115.3 MB / 405.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 68.11 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1494, allocations: 76.19 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002316/0.1517, allocations: 1.314 MB / 0.5571 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005486/0.1523, allocations: 307.1 kB / 0.5574 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.1524, allocations: 0 / 0.5574 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.1524, allocations: 0 / 0.5574 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.1524, allocations: 0 / 0.5574 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1527, allocations: 51.73 kB / 0.5575 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.1527, allocations: 15.94 kB / 0.5575 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.1528, allocations: 0 / 0.5575 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.1528, allocations: 8 kB / 0.5575 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.1528, allocations: 11.92 kB / 0.5575 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1529, allocations: 4 kB / 0.5575 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.153, allocations: 51.95 kB / 0.5576 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.153, allocations: 3.984 kB / 0.5576 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.153, allocations: 7.938 kB / 0.5576 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1532, allocations: 48.19 kB / 0.5576 GB, free: 8.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1532, allocations: 3.984 kB / 0.5576 GB, free: 8.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1532, allocations: 4 kB / 0.5576 GB, free: 8.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1532, allocations: 0 / 0.5576 GB, free: 8.891 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.0003316/0.1535, allocations: 336.9 kB / 0.558 GB, free: 8.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1536, allocations: 8.031 kB / 0.558 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.1536, allocations: 34.75 kB / 0.558 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.1538, allocations: 12.92 kB / 0.558 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1539, allocations: 184.1 kB / 0.5582 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.154, allocations: 384 / 0.5582 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.154, allocations: 4.375 kB / 0.5582 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.855e-05/0.1541, allocations: 50.23 kB / 0.5582 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1541, allocations: 3.938 kB / 0.5582 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1541, allocations: 0 / 0.5582 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1541, allocations: 0 / 0.5582 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.1542, allocations: 16 kB / 0.5583 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1543, allocations: 157.7 kB / 0.5584 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.1562, allocations: 270.4 kB / 0.5587 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.1562, allocations: 20.84 kB / 0.5587 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.1563, allocations: 4 kB / 0.5587 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1563, allocations: 34.56 kB / 0.5587 GB, free: 7.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1563, allocations: 0 / 0.5587 GB, free: 7.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001547/0.1564, allocations: 65.62 kB / 0.5588 GB, free: 7.535 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1565, allocations: 51.41 kB / 0.5588 GB, free: 7.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.797e-05/0.1565, allocations: 89.86 kB / 0.5589 GB, free: 7.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1566, allocations: 33.64 kB / 0.5589 GB, free: 7.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.1566, allocations: 84.14 kB / 0.559 GB, free: 7.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1566, allocations: 11.8 kB / 0.559 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1567, allocations: 21.84 kB / 0.5591 GB, free: 7.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.1568, allocations: 310.8 kB / 0.5594 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.1568, allocations: 8 kB / 0.5594 GB, free: 6.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.1568, allocations: 7.984 kB / 0.5594 GB, free: 6.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.1568, allocations: 24.86 kB / 0.5594 GB, free: 6.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1569, allocations: 0 / 0.5594 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.429e-05/0.1569, allocations: 53.69 kB / 0.5594 GB, free: 6.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.157, allocations: 7.938 kB / 0.5595 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.157, allocations: 4 kB / 0.5595 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.157, allocations: 4 kB / 0.5595 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.1571, allocations: 7.938 kB / 0.5595 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1571, allocations: 0 / 0.5595 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.1571, allocations: 4 kB / 0.5595 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1571, allocations: 4 kB / 0.5595 GB, free: 6.766 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.1572, allocations: 113.8 kB / 0.5596 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1572, allocations: 3.938 kB / 0.5596 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.1572, allocations: 11.83 kB / 0.5596 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1572, allocations: 0 / 0.5596 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1572, allocations: 7.938 kB / 0.5596 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1572, allocations: 3.984 kB / 0.5596 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1573, allocations: 157.6 kB / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1574, allocations: 0 / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1574, allocations: 8 kB / 0.5598 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1574, allocations: 3.938 kB / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1574, allocations: 4 kB / 0.5598 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1574, allocations: 0 / 0.5598 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1574, allocations: 0 / 0.5598 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1575, allocations: 92.95 kB / 0.5599 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.1576, allocations: 81.11 kB / 0.5599 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1576, allocations: 3.938 kB / 0.5599 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.1577, allocations: 0 / 0.5599 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.1577, allocations: 4 kB / 0.5599 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1577, allocations: 7.984 kB / 0.56 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.1577, allocations: 75.28 kB / 0.56 GB, free: 6.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 0.56 GB, free: 6.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001722/0.1579, allocations: 12.09 kB / 0.56 GB, free: 6.09 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 (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.0003163/0.1583, allocations: 0.6124 MB / 0.5606 GB, free: 5.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.1583, allocations: 27.98 kB / 0.5607 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1583, allocations: 0 / 0.5607 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.1584, allocations: 8 kB / 0.5607 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.1586, allocations: 15.98 kB / 0.5607 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.159, allocations: 161.8 kB / 0.5608 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1592, allocations: 0.6731 MB / 0.5615 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.1592, allocations: 11.98 kB / 0.5615 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.1593, allocations: 7.438 kB / 0.5615 GB, free: 4.477 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1593, allocations: 0 / 0.5615 GB, free: 4.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4326/0.5918, allocations: 1.169 MB / 0.5627 GB, free: 3.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.5921, allocations: 199.6 kB / 0.5628 GB, free: 3.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.62, allocations: 0 / 0.5628 GB, free: 3.18 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/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)