Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.00107/0.00107, allocations: 108 kB / 15.6 MB, free: 132 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.001155/0.001155, allocations: 198 kB / 16.54 MB, free: 6.672 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 283.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9263/0.9263, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 102.7 kB / 0.5954 GB, free: 27.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002439/0.1548, allocations: 1.28 MB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1559, allocations: 0.7679 MB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.156, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.156, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.1561, allocations: 4.875 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.1566, allocations: 167.2 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.48e-05/0.1567, allocations: 31.8 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1567, allocations: 4 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.1568, allocations: 7.984 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.1568, allocations: 15.92 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1568, allocations: 4 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.1573, allocations: 287.5 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1573, allocations: 4 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1573, allocations: 11.94 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.1577, allocations: 171.9 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1577, allocations: 4 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1577, allocations: 0 / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1577, allocations: 0 / 0.683 GB, free: 13.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004485/0.1581, allocations: 363.5 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1582, allocations: 8.031 kB / 0.6833 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.1582, allocations: 34.75 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.1585, allocations: 20.91 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1586, allocations: 176.3 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1587, allocations: 384 / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1587, allocations: 4.375 kB / 0.6836 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1588, allocations: 46.25 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1588, allocations: 7.922 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1588, allocations: 0 / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1588, allocations: 0 / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.406e-05/0.1589, allocations: 27.97 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1591, allocations: 169.6 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1592, allocations: 62.53 kB / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.1593, allocations: 28.89 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1593, allocations: 0 / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1593, allocations: 34.56 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.1593, allocations: 0 / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001954/0.1595, allocations: 77.56 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1596, allocations: 55.41 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.1597, allocations: 93.86 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1597, allocations: 33.64 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.1597, allocations: 84.12 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1598, allocations: 15.72 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1598, allocations: 21.66 kB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1599, allocations: 318.8 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.16, allocations: 8 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.16, allocations: 16.12 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.16, allocations: 32.84 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1601, allocations: 4 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001021/0.1602, allocations: 66 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1602, allocations: 7.938 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1602, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1602, allocations: 64 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1604, allocations: 19.98 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1604, allocations: 0 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.1604, allocations: 7.938 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1604, allocations: 8 kB / 0.6847 GB, free: 11.79 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 (6): * Single equations (assignments): 6 * 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.664e-05/0.1605, allocations: 111.2 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.1605, allocations: 3.938 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.1607, allocations: 97.45 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1608, allocations: 4 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1608, allocations: 4 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1608, allocations: 0 / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1609, allocations: 157.7 kB / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1609, allocations: 0 / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.161, allocations: 15.98 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.161, allocations: 3.938 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.161, allocations: 4 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.161, allocations: 4 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.161, allocations: 0 / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.1612, allocations: 97.05 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1612, allocations: 89 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1613, allocations: 3.938 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.1613, allocations: 4 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.1613, allocations: 7.984 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1614, allocations: 0 / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.1614, allocations: 79.28 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1614, allocations: 0 / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.1616, allocations: 16.03 kB / 0.6854 GB, free: 11 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 (7): * Single equations (assignments): 7 * 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.000352/0.1619, allocations: 0.6398 MB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1621, allocations: 47.98 kB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1621, allocations: 0 / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.1621, allocations: 19.94 kB / 0.6861 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.1623, allocations: 16.73 kB / 0.6861 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.1627, allocations: 158.3 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.163, allocations: 0.6768 MB / 0.6869 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.163, allocations: 12.23 kB / 0.6869 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.1631, allocations: 11.44 kB / 0.687 GB, free: 9.328 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1631, allocations: 0 / 0.687 GB, free: 9.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.179, allocations: 1.428 MB / 0.6884 GB, free: 8.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/7.011, allocations: 11.06 kB / 0.6884 GB, free: 8.055 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)