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.001288/0.001288, 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.001506/0.001507, allocations: 195 kB / 16.53 MB, free: 6.699 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 282.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.00265, allocations: 97.86 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1756, allocations: 89.14 MB / 0.6936 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002967/0.1786, allocations: 1.507 MB / 0.6951 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.179, allocations: 131.6 kB / 0.6952 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.179, allocations: 0 / 0.6952 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.1791, allocations: 3.938 kB / 0.6952 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.1792, allocations: 17.42 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1795, allocations: 66.72 kB / 0.6953 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1796, allocations: 60.34 kB / 0.6953 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1797, allocations: 24.61 kB / 0.6953 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.1798, allocations: 25.14 kB / 0.6954 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.1799, allocations: 19.92 kB / 0.6954 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1799, allocations: 8 kB / 0.6954 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.1799, allocations: 4.844 kB / 0.6954 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.1799, allocations: 15.92 kB / 0.6954 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.18, allocations: 28.53 kB / 0.6954 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1801, allocations: 52.08 kB / 0.6955 GB, free: 2.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1801, allocations: 1.219 kB / 0.6955 GB, free: 2.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1801, allocations: 4 kB / 0.6955 GB, free: 2.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1801, allocations: 0 / 0.6955 GB, free: 2.312 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.0005899/0.1807, allocations: 376.4 kB / 0.6959 GB, free: 1.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1808, allocations: 11.53 kB / 0.6959 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.1808, allocations: 38.69 kB / 0.6959 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1809, allocations: 4.938 kB / 0.6959 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.181, allocations: 172.3 kB / 0.6961 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.1811, allocations: 30.27 kB / 0.6961 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1811, allocations: 4.375 kB / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1813, allocations: 73.97 kB / 0.6962 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1814, allocations: 4 kB / 0.6962 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1814, allocations: 4 kB / 0.6962 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1814, allocations: 4 kB / 0.6962 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.1816, allocations: 43.89 kB / 0.6962 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.1822, allocations: 316.7 kB / 0.6965 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1823, allocations: 50.55 kB / 0.6966 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.1825, allocations: 28.94 kB / 0.6966 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1825, allocations: 0 / 0.6966 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1825, allocations: 46.48 kB / 0.6967 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1825, allocations: 4 kB / 0.6967 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003838/0.1829, allocations: 101.7 kB / 0.6968 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.183, allocations: 55.34 kB / 0.6968 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.1831, allocations: 109.8 kB / 0.6969 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1831, allocations: 25.7 kB / 0.6969 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.1831, allocations: 84.14 kB / 0.697 GB, free: 0.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1832, allocations: 23.86 kB / 0.697 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1832, allocations: 17.72 kB / 0.6971 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1834, allocations: 318.8 kB / 0.6974 GB, free: 180 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.1835, allocations: 23.97 kB / 0.6974 GB, free: 156 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.1836, allocations: 37.64 kB / 0.6974 GB, free: 112 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1837, allocations: 61.61 kB / 0.6975 GB, free: 44 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1838, allocations: 0 / 0.6975 GB, free: 44 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002463/0.184, allocations: 89.5 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.184, allocations: 4 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.184, allocations: 4 kB / 0.6976 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1841, allocations: 0 / 0.6976 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.1842, allocations: 11.98 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1842, allocations: 4.156 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.1842, allocations: 15.98 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1843, allocations: 0 / 0.6976 GB, free: 15.91 MB / 0.4981 GB 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 8.988e-05/0.1843, allocations: 121.7 kB / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1844, allocations: 0 / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.1844, allocations: 7.906 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1844, allocations: 4 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1844, allocations: 0 / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1844, allocations: 4 kB / 0.6977 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1846, allocations: 177.5 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1846, allocations: 0 / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.1847, allocations: 19.92 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1847, allocations: 0 / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1847, allocations: 0 / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1847, allocations: 320 / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1848, allocations: 0 / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.185, allocations: 179.5 kB / 0.6981 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.1851, allocations: 85 kB / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1851, allocations: 0 / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1853, allocations: 11.98 kB / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1853, allocations: 7.938 kB / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1853, allocations: 4 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.1854, allocations: 91.25 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1854, allocations: 0 / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002203/0.1856, allocations: 12 kB / 0.6983 GB, free: 15.1 MB / 0.4981 GB 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.0006179/0.1862, allocations: 0.7085 MB / 0.699 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1865, allocations: 59.89 kB / 0.699 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1865, allocations: 0 / 0.699 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.1866, allocations: 24.27 kB / 0.6991 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1869, allocations: 7.938 kB / 0.6991 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.1884, allocations: 1.321 MB / 0.7004 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1888, allocations: 0.6845 MB / 0.701 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.066e-05/0.1888, allocations: 8 kB / 0.701 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.1889, allocations: 19.44 kB / 0.7011 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1889, allocations: 0 / 0.7011 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.2107, allocations: 1.762 MB / 0.7028 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.694, allocations: 9.438 kB / 0.7028 GB, free: 10.49 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir_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_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)