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.001134/0.001134, allocations: 107.9 kB / 16.41 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.001127/0.001127, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8764/0.8764, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.38 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1516, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002382/0.154, allocations: 1.241 MB / 0.6453 GB, free: 8.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005796/0.1546, allocations: 303.4 kB / 0.6456 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.1546, allocations: 0 / 0.6456 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.1547, allocations: 3.938 kB / 0.6456 GB, free: 7.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1547, allocations: 3.984 kB / 0.6456 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.155, allocations: 47.75 kB / 0.6456 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.1551, allocations: 19.88 kB / 0.6456 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1551, allocations: 0 / 0.6456 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.1552, allocations: 15.91 kB / 0.6456 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.1552, allocations: 12 kB / 0.6457 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1552, allocations: 0 / 0.6457 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1554, allocations: 55.95 kB / 0.6457 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.1554, allocations: 4 kB / 0.6457 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1554, allocations: 11.92 kB / 0.6457 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1556, allocations: 48.17 kB / 0.6458 GB, free: 7.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1556, allocations: 0 / 0.6458 GB, free: 7.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1556, allocations: 3.938 kB / 0.6458 GB, free: 7.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1556, allocations: 0 / 0.6458 GB, free: 7.766 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.0003804/0.156, allocations: 343.3 kB / 0.6461 GB, free: 7.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.156, allocations: 12.56 kB / 0.6461 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1561, allocations: 30.75 kB / 0.6461 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.1563, allocations: 20.91 kB / 0.6462 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1564, allocations: 164.3 kB / 0.6463 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1564, allocations: 4.375 kB / 0.6463 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1564, allocations: 384 / 0.6463 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1566, allocations: 46.19 kB / 0.6464 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1566, allocations: 3.938 kB / 0.6464 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1566, allocations: 8 kB / 0.6464 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1566, allocations: 0 / 0.6464 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.1567, allocations: 15.98 kB / 0.6464 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1569, allocations: 153.7 kB / 0.6465 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.1589, allocations: 270.4 kB / 0.6468 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.1589, allocations: 16.86 kB / 0.6468 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.159, allocations: 3.938 kB / 0.6468 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.159, allocations: 34.56 kB / 0.6469 GB, free: 6.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.159, allocations: 0 / 0.6469 GB, free: 6.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.1592, allocations: 65.62 kB / 0.6469 GB, free: 6.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1592, allocations: 59.39 kB / 0.647 GB, free: 6.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.1593, allocations: 89.86 kB / 0.6471 GB, free: 6.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1593, allocations: 25.7 kB / 0.6471 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.1594, allocations: 80.14 kB / 0.6472 GB, free: 6.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1594, allocations: 15.91 kB / 0.6472 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.1594, allocations: 13.72 kB / 0.6472 GB, free: 6.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1595, allocations: 318.8 kB / 0.6475 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.1596, allocations: 8.125 kB / 0.6475 GB, free: 5.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.1596, allocations: 12.12 kB / 0.6475 GB, free: 5.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.002e-05/0.1596, allocations: 28.94 kB / 0.6475 GB, free: 5.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1597, allocations: 7.938 kB / 0.6475 GB, free: 5.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.176e-05/0.1598, allocations: 57.64 kB / 0.6476 GB, free: 5.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1598, allocations: 9.656 kB / 0.6476 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1598, allocations: 0 / 0.6476 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1598, allocations: 0 / 0.6476 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.1599, allocations: 11.98 kB / 0.6476 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1599, allocations: 0 / 0.6476 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.1599, allocations: 4 kB / 0.6476 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1599, allocations: 7.938 kB / 0.6476 GB, free: 5.629 MB / 494.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.669e-05/0.16, allocations: 109.8 kB / 0.6477 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.16, allocations: 3.938 kB / 0.6477 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.1601, allocations: 7.5 kB / 0.6478 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1601, allocations: 0 / 0.6478 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1601, allocations: 4 kB / 0.6478 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1601, allocations: 3.938 kB / 0.6478 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1602, allocations: 157.7 kB / 0.6479 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1602, allocations: 4 kB / 0.6479 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.1603, allocations: 7.984 kB / 0.6479 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1603, allocations: 3.938 kB / 0.6479 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1603, allocations: 4 kB / 0.6479 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1603, allocations: 0 / 0.6479 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1603, allocations: 0 / 0.6479 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1604, allocations: 81.06 kB / 0.648 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.1605, allocations: 85 kB / 0.6481 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1605, allocations: 11.94 kB / 0.6481 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.1606, allocations: 3.984 kB / 0.6481 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.1606, allocations: 0 / 0.6481 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1606, allocations: 4 kB / 0.6481 GB, free: 5.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.561e-05/0.1606, allocations: 79.28 kB / 0.6482 GB, free: 4.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1606, allocations: 0 / 0.6482 GB, free: 4.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.1608, allocations: 4 kB / 0.6482 GB, free: 4.965 MB / 494.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.0003527/0.1612, allocations: 0.6164 MB / 0.6488 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.3e-05/0.1613, allocations: 23.92 kB / 0.6488 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.1613, allocations: 0 / 0.6488 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.1613, allocations: 23.92 kB / 0.6488 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.1616, allocations: 8 kB / 0.6488 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.162, allocations: 152.3 kB / 0.649 GB, free: 4.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1623, allocations: 0.6838 MB / 0.6497 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.1623, allocations: 8.328 kB / 0.6497 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1624, allocations: 11.44 kB / 0.6497 GB, free: 3.348 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1624, allocations: 0 / 0.6497 GB, free: 3.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1812, allocations: 1.322 MB / 0.651 GB, free: 2.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.6, allocations: 15.31 kB / 0.651 GB, free: 2.109 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X_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_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)