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.001441/0.001441, allocations: 105 kB / 16.4 MB, free: 6.508 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.001622/0.001622, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.353/1.353, 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.7982/0.7982, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 65.45 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.156, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.0027/0.1588, allocations: 1.25 MB / 0.6328 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.1594, allocations: 291.4 kB / 0.6331 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.1595, allocations: 0 / 0.6331 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.1596, allocations: 0 / 0.6331 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.1596, allocations: 3.938 kB / 0.6331 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.16, allocations: 59.75 kB / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.16, allocations: 15.92 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.1601, allocations: 0 / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.457e-05/0.1601, allocations: 15.88 kB / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.1602, allocations: 7.984 kB / 0.6332 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1602, allocations: 0 / 0.6332 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1604, allocations: 55.95 kB / 0.6332 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1604, allocations: 0 / 0.6332 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.1604, allocations: 7.938 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1606, allocations: 54.75 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1606, allocations: 4 kB / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1606, allocations: 0 / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1606, allocations: 0 / 0.6333 GB, free: 3.145 MB / 478.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.0004859/0.1611, allocations: 340.3 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1612, allocations: 12.03 kB / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1612, allocations: 30.75 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1615, allocations: 20.91 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1616, allocations: 164.3 kB / 0.6338 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1616, allocations: 4.375 kB / 0.6338 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1617, allocations: 8.312 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1618, allocations: 42.25 kB / 0.6339 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1618, allocations: 3.938 kB / 0.6339 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1618, allocations: 3.938 kB / 0.6339 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1618, allocations: 4 kB / 0.6339 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.1619, allocations: 15.98 kB / 0.6339 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1621, allocations: 153.7 kB / 0.6341 GB, free: 2.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.1641, allocations: 270.4 kB / 0.6343 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.1641, allocations: 16.86 kB / 0.6343 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1642, allocations: 0 / 0.6343 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1642, allocations: 38.56 kB / 0.6344 GB, free: 1.867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 4.058e-06/0.1642, allocations: 0 / 0.6344 GB, free: 1.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.00019/0.1644, allocations: 69.56 kB / 0.6344 GB, free: 1.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1644, allocations: 51.41 kB / 0.6345 GB, free: 1.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.1645, allocations: 97.84 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1645, allocations: 29.7 kB / 0.6346 GB, free: 1.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.1646, allocations: 80.14 kB / 0.6347 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1646, allocations: 11.94 kB / 0.6347 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.1647, allocations: 17.72 kB / 0.6347 GB, free: 1.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1648, allocations: 310.8 kB / 0.635 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.1648, allocations: 11.98 kB / 0.635 GB, free: 1.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.1649, allocations: 8 kB / 0.635 GB, free: 1.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.1649, allocations: 29.06 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1649, allocations: 4 kB / 0.6351 GB, free: 1.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.177e-05/0.165, allocations: 53.69 kB / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.165, allocations: 11.94 kB / 0.6351 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.165, allocations: 7.938 kB / 0.6351 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1651, allocations: 0 / 0.6351 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1651, allocations: 7.984 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1651, allocations: 0 / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.1652, allocations: 7.938 kB / 0.6352 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1652, allocations: 0 / 0.6352 GB, free: 1.012 MB / 478.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 7.845e-05/0.1653, allocations: 105.8 kB / 0.6353 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1653, allocations: 7.938 kB / 0.6353 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.1653, allocations: 11.44 kB / 0.6353 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1653, allocations: 4 kB / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1653, allocations: 0 / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1654, allocations: 0 / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1655, allocations: 157.7 kB / 0.6354 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1655, allocations: 0 / 0.6354 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.1655, allocations: 8 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1655, allocations: 3.938 kB / 0.6354 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1656, allocations: 11.92 kB / 0.6354 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1656, allocations: 0 / 0.6354 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1656, allocations: 0 / 0.6354 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1657, allocations: 85.03 kB / 0.6355 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1658, allocations: 77.11 kB / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1658, allocations: 3.938 kB / 0.6356 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.1658, allocations: 0 / 0.6356 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.1659, allocations: 11.98 kB / 0.6356 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1659, allocations: 3.938 kB / 0.6356 GB, free: 440 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.1659, allocations: 75.28 kB / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1659, allocations: 4.094 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.1661, allocations: 8 kB / 0.6357 GB, free: 352 kB / 478.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.0003829/0.1665, allocations: 0.6085 MB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1666, allocations: 31.92 kB / 0.6363 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1667, allocations: 0 / 0.6363 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.1667, allocations: 16 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1669, allocations: 13.23 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1674, allocations: 158.4 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1677, allocations: 0.6806 MB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.1677, allocations: 4 kB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1678, allocations: 11.44 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1678, allocations: 0 / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.1852, allocations: 1.33 MB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.633, allocations: 13.95 kB / 0.6385 GB, free: 13.48 MB / 494.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)