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.001046/0.001046, allocations: 93.03 kB / 16.02 MB, free: 84 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.001339/0.001339, allocations: 186 kB / 16.92 MB, free: 6.934 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.547/1.547, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6916/0.6916, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003329, allocations: 23.97 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 77.52 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001662/0.1678, allocations: 0.977 MB / 0.561 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.1686, allocations: 295.1 kB / 0.5613 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.1686, allocations: 4 kB / 0.5613 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.1687, allocations: 7.938 kB / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.1687, allocations: 7.922 kB / 0.5613 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1691, allocations: 35.83 kB / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.1692, allocations: 19.92 kB / 0.5614 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.1693, allocations: 0 / 0.5614 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.1694, allocations: 4 kB / 0.5614 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.1694, allocations: 11.92 kB / 0.5614 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1695, allocations: 0 / 0.5614 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1697, allocations: 55.95 kB / 0.5614 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.1697, allocations: 0 / 0.5614 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.1697, allocations: 37.64 kB / 0.5615 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1699, allocations: 52.16 kB / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.1699, allocations: 4 kB / 0.5615 GB, free: 7.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1699, allocations: 0 / 0.5615 GB, free: 7.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.17, allocations: 0 / 0.5615 GB, free: 7.391 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.0005416/0.1705, allocations: 327.6 kB / 0.5618 GB, free: 7.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.1706, allocations: 8.031 kB / 0.5618 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.1707, allocations: 38.75 kB / 0.5619 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.171, allocations: 12.92 kB / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.1711, allocations: 176.2 kB / 0.5621 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1712, allocations: 4.312 kB / 0.5621 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1712, allocations: 384 / 0.5621 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1714, allocations: 46.25 kB / 0.5621 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1714, allocations: 3.938 kB / 0.5621 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1714, allocations: 0 / 0.5621 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1714, allocations: 0 / 0.5621 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.1715, allocations: 23.98 kB / 0.5621 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.1717, allocations: 153.6 kB / 0.5623 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.1736, allocations: 274.4 kB / 0.5625 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.1737, allocations: 20.84 kB / 0.5626 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1737, allocations: 4 kB / 0.5626 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1738, allocations: 30.56 kB / 0.5626 GB, free: 6.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1738, allocations: 0 / 0.5626 GB, free: 6.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000222/0.174, allocations: 65.81 kB / 0.5627 GB, free: 6.047 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.174, allocations: 55.34 kB / 0.5627 GB, free: 5.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.1741, allocations: 97.84 kB / 0.5628 GB, free: 5.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1742, allocations: 33.7 kB / 0.5628 GB, free: 5.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.1742, allocations: 80.14 kB / 0.5629 GB, free: 5.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1742, allocations: 7.812 kB / 0.5629 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.1743, allocations: 9.719 kB / 0.5629 GB, free: 5.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.1745, allocations: 318.8 kB / 0.5632 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.1745, allocations: 4 kB / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.1745, allocations: 20.03 kB / 0.5633 GB, free: 5.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.462e-05/0.1746, allocations: 28.86 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1746, allocations: 0 / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.5e-05/0.1747, allocations: 53.69 kB / 0.5633 GB, free: 5.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1748, allocations: 11.88 kB / 0.5633 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.1748, allocations: 0 / 0.5633 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1748, allocations: 0 / 0.5633 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.1749, allocations: 12 kB / 0.5634 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1749, allocations: 0 / 0.5634 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.1749, allocations: 0 / 0.5634 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1749, allocations: 0 / 0.5634 GB, free: 5.273 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 0.0001299/0.175, allocations: 121.8 kB / 0.5635 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1751, allocations: 7.875 kB / 0.5635 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.1751, allocations: 7.5 kB / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1751, allocations: 0 / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1751, allocations: 0 / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1751, allocations: 0 / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.1753, allocations: 165.6 kB / 0.5636 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1753, allocations: 0 / 0.5636 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1753, allocations: 4 kB / 0.5636 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.1753, allocations: 7.938 kB / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1753, allocations: 0 / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1753, allocations: 0 / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1754, allocations: 4 kB / 0.5637 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1755, allocations: 85.05 kB / 0.5637 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.1756, allocations: 81.02 kB / 0.5638 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1756, allocations: 3.938 kB / 0.5638 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.1756, allocations: 4 kB / 0.5638 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.1757, allocations: 4 kB / 0.5638 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1757, allocations: 3.984 kB / 0.5638 GB, free: 4.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.117e-05/0.1757, allocations: 79.28 kB / 0.5639 GB, free: 4.609 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1757, allocations: 0 / 0.5639 GB, free: 4.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.1759, allocations: 8 kB / 0.5639 GB, free: 4.602 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.0005632/0.1765, allocations: 0.6164 MB / 0.5645 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1766, allocations: 23.98 kB / 0.5645 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1766, allocations: 0 / 0.5645 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.1766, allocations: 12 kB / 0.5645 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1769, allocations: 21.64 kB / 0.5646 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1773, allocations: 170.6 kB / 0.5647 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1777, allocations: 0.6731 MB / 0.5654 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.652e-05/0.1777, allocations: 7.969 kB / 0.5654 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1778, allocations: 11.44 kB / 0.5654 GB, free: 2.969 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1778, allocations: 0 / 0.5654 GB, free: 2.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.1891, allocations: 1.103 MB / 0.5665 GB, free: 2.004 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.1893, allocations: 206.9 kB / 0.5667 GB, free: 1.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.983, allocations: 0 / 0.5667 GB, free: 1.746 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)