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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 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.001076/0.001076, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.399/1.399, 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.002208/0.002207, allocations: 282.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 97.64 kB / 0.5953 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003378/0.1714, allocations: 1.485 MB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004044/0.1718, allocations: 132.1 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.1719, allocations: 0 / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.172, allocations: 4.594 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.1721, allocations: 9.844 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1725, allocations: 67.84 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1726, allocations: 59.83 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1727, allocations: 30.81 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.1728, allocations: 23.92 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.1729, allocations: 19.92 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1729, allocations: 8 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.173, allocations: 4 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.173, allocations: 19.91 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.1731, allocations: 23.86 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1732, allocations: 48.64 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1732, allocations: 4 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1732, allocations: 5.656 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1732, allocations: 0 / 0.6822 GB, free: 14.65 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.0005785/0.1738, allocations: 376.2 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1739, allocations: 8.031 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1739, allocations: 35.28 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1739, allocations: 9.969 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1741, allocations: 168.4 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.1742, allocations: 30.27 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1742, allocations: 5.312 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1745, allocations: 77.97 kB / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1745, allocations: 0 / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1745, allocations: 0 / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1745, allocations: 4 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.1747, allocations: 47.89 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.1754, allocations: 324.6 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1756, allocations: 50.55 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1757, allocations: 28.94 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1757, allocations: 3.938 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1757, allocations: 42.55 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1758, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004071/0.1762, allocations: 97.55 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1762, allocations: 59.34 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1763, allocations: 109.8 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1764, allocations: 25.7 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.1765, allocations: 92.14 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1765, allocations: 11.8 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1765, allocations: 17.72 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1767, allocations: 318.8 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1768, allocations: 27.91 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1769, allocations: 33.7 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1771, allocations: 61.84 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1771, allocations: 0 / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002359/0.1774, allocations: 85.59 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1774, allocations: 4 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1774, allocations: 4 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1774, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1776, allocations: 16.02 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1776, allocations: 4 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.1776, allocations: 15.83 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1777, allocations: 0 / 0.6843 GB, free: 12.25 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 0.0001032/0.1778, allocations: 119.1 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1778, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.1778, allocations: 15.84 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1778, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1779, allocations: 4.125 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1779, allocations: 7.938 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1782, allocations: 173.6 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1782, allocations: 4 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.1783, allocations: 11.98 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1783, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1783, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1783, allocations: 320 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1783, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1786, allocations: 187.3 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1787, allocations: 77.11 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1787, allocations: 0 / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1788, allocations: 11.98 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1789, allocations: 3.938 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1789, allocations: 8 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.179, allocations: 91.25 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.179, allocations: 3.938 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1792, allocations: 12 kB / 0.685 GB, free: 11.44 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.0005915/0.1798, allocations: 0.7084 MB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1801, allocations: 59.89 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1801, allocations: 0 / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.1802, allocations: 23.98 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1805, allocations: 0.75 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.182, allocations: 1.329 MB / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1824, allocations: 0.6807 MB / 0.6877 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.1825, allocations: 11.98 kB / 0.6877 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1825, allocations: 15.44 kB / 0.6877 GB, free: 8.473 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1825, allocations: 3.938 kB / 0.6877 GB, free: 8.469 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.2172, allocations: 1.77 MB / 0.6895 GB, free: 6.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.19, allocations: 5.656 kB / 0.6895 GB, free: 6.828 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)