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.001302/0.001302, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001287/0.001287, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 286.4 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 89.5 kB / 0.5948 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1771, allocations: 86.99 MB / 0.6797 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003145/0.1803, allocations: 1.551 MB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.1807, allocations: 116.2 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.1808, allocations: 7.938 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.1808, allocations: 3.938 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.1809, allocations: 12.47 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1813, allocations: 58.2 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1814, allocations: 60.56 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1815, allocations: 24.69 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.1816, allocations: 29.83 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.1817, allocations: 15.92 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1817, allocations: 4 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.1817, allocations: 8 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.1817, allocations: 15.92 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1818, allocations: 39.84 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1819, allocations: 47.84 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1819, allocations: 0 / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1819, allocations: 3.938 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1819, allocations: 0 / 0.6817 GB, free: 14.93 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.000556/0.1825, allocations: 371.4 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1826, allocations: 12.03 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.1826, allocations: 34.73 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1827, allocations: 12.84 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1828, allocations: 160.4 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.1829, allocations: 34.27 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1829, allocations: 8.375 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.1831, allocations: 73.97 kB / 0.6823 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1832, allocations: 0 / 0.6823 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.1832, allocations: 4 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1832, allocations: 0 / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1834, allocations: 55.89 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.184, allocations: 316.6 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1842, allocations: 54.53 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.1843, allocations: 36.86 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1843, allocations: 0 / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1843, allocations: 34.56 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.1843, allocations: 0 / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000353/0.1847, allocations: 105.5 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.1848, allocations: 51.41 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.1849, allocations: 105.8 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1849, allocations: 29.7 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.185, allocations: 88.2 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.185, allocations: 19.8 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.185, allocations: 13.72 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1852, allocations: 326.7 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.1852, allocations: 27.92 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.1853, allocations: 33.69 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1855, allocations: 53.69 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1855, allocations: 4 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.1857, allocations: 85.59 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1858, allocations: 4 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1858, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1858, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1859, allocations: 15.98 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1859, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.186, allocations: 15.83 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.186, allocations: 4 kB / 0.6838 GB, free: 12.53 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 9.221e-05/0.1861, allocations: 119.1 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.1861, allocations: 4 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.1862, allocations: 11.84 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1862, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1862, allocations: 3.984 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1862, allocations: 0 / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1864, allocations: 173.6 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1864, allocations: 3.984 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.1865, allocations: 8 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1865, allocations: 4 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1865, allocations: 4 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1865, allocations: 4 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1865, allocations: 128 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1868, allocations: 179.3 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1868, allocations: 81.11 kB / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1869, allocations: 4 kB / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.187, allocations: 16.2 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.187, allocations: 4 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.187, allocations: 7.922 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.1871, allocations: 87.59 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1871, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.1873, allocations: 8 kB / 0.6845 GB, free: 11.73 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.000577/0.1879, allocations: 0.7162 MB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1882, allocations: 51.89 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1882, allocations: 0 / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.1883, allocations: 28.05 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1886, allocations: 15.92 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1902, allocations: 1.333 MB / 0.6866 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1906, allocations: 0.6871 MB / 0.6872 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.1907, allocations: 4 kB / 0.6872 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.1907, allocations: 23.42 kB / 0.6872 GB, free: 8.734 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1907, allocations: 0 / 0.6872 GB, free: 8.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.2015, allocations: 1.634 MB / 0.6888 GB, free: 7.273 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.2017, allocations: 214.5 kB / 0.689 GB, free: 7.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.842, allocations: 0 / 0.689 GB, free: 7.023 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)