Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.0007511/0.0007513, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.0009781/0.0009781, allocations: 172.4 kB / 16.26 MB, free: 6.656 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 273.8 kB / 291.7 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9545/0.9545, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004115, allocations: 12.34 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001545/0.174, allocations: 1.216 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002684/0.1742, allocations: 128.2 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.1743, allocations: 0.5938 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.1743, allocations: 1.188 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.1744, allocations: 7.938 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1747, allocations: 63.28 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.1748, allocations: 60.84 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1749, allocations: 20.2 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.1749, allocations: 25.48 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.175, allocations: 23.89 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.175, allocations: 4 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.175, allocations: 0 / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.175, allocations: 9 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1751, allocations: 45.62 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.608e-05/0.1752, allocations: 51.78 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1752, allocations: 7.375 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1752, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.1752, allocations: 0 / 0.6868 GB, free: 13.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004445/0.1757, allocations: 359.4 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1757, allocations: 8.531 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.1758, allocations: 43.36 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1758, allocations: 4.844 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1759, allocations: 168.9 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.176, allocations: 32.42 kB / 0.6874 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.176, allocations: 12.31 kB / 0.6874 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1762, allocations: 79.22 kB / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1762, allocations: 0 / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1762, allocations: 4.781 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1763, allocations: 0 / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1765, allocations: 58.33 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.1771, allocations: 337.1 kB / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1772, allocations: 55.59 kB / 0.688 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1773, allocations: 38.33 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1774, allocations: 1.156 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1774, allocations: 35.47 kB / 0.688 GB, free: 11.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1774, allocations: 0 / 0.688 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003747/0.1778, allocations: 113.6 kB / 0.6881 GB, free: 11.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1778, allocations: 55.41 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.1779, allocations: 109.8 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1779, allocations: 33.64 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.178, allocations: 100 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.178, allocations: 7.812 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.1781, allocations: 13.72 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1782, allocations: 322.8 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.1783, allocations: 23.98 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1784, allocations: 41.7 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1786, allocations: 73.61 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1786, allocations: 0 / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.1788, allocations: 89.66 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1788, allocations: 4 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1788, allocations: 0 / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1788, allocations: 8.266 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.1789, allocations: 19.92 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.179, allocations: 0 / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.179, allocations: 19.92 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.179, allocations: 0 / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.583e-05/0.1791, allocations: 115.1 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.1792, allocations: 15.89 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.1792, allocations: 7.906 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1792, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1792, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1792, allocations: 3.984 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1794, allocations: 173.7 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1794, allocations: 8 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.1795, allocations: 11.98 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1795, allocations: 0 / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1795, allocations: 7.938 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1795, allocations: 4 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1795, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1798, allocations: 195.3 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1798, allocations: 81.11 kB / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1798, allocations: 0 / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.18, allocations: 15.98 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.18, allocations: 0 / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.18, allocations: 7.984 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.1801, allocations: 91.22 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1801, allocations: 0 / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.1803, allocations: 8 kB / 0.6897 GB, free: 10.02 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.0005297/0.1808, allocations: 0.7279 MB / 0.6904 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1811, allocations: 59.95 kB / 0.6905 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1811, allocations: 0 / 0.6905 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1812, allocations: 35.98 kB / 0.6905 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1815, allocations: 13.88 kB / 0.6905 GB, free: 9.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1828, allocations: 1.356 MB / 0.6919 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1831, allocations: 0.6887 MB / 0.6925 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.1831, allocations: 4 kB / 0.6925 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.1832, allocations: 19.38 kB / 0.6926 GB, free: 6.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1832, allocations: 0 / 0.6926 GB, free: 6.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.1946, allocations: 1.518 MB / 0.694 GB, free: 5.645 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.1949, allocations: 222.6 kB / 0.6943 GB, free: 5.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.784, allocations: 0 / 0.6943 GB, free: 5.391 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)