Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001514/0.001514, 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.001614/0.001614, allocations: 196.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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.039/1.039, allocations: 143 MB / 433.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 63.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1771, allocations: 82.03 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002901/0.18, allocations: 1.494 MB / 0.5958 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.1804, allocations: 127.6 kB / 0.596 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.1805, allocations: 0 / 0.596 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.1805, allocations: 3.938 kB / 0.596 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.1807, allocations: 7.922 kB / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1811, allocations: 75.16 kB / 0.596 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1813, allocations: 59.91 kB / 0.5961 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1814, allocations: 27.89 kB / 0.5961 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.1815, allocations: 15.98 kB / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.1816, allocations: 27.86 kB / 0.5962 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.1817, allocations: 4 kB / 0.5962 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.1817, allocations: 4 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1817, allocations: 11.98 kB / 0.5962 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1818, allocations: 35.84 kB / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.182, allocations: 56.12 kB / 0.5963 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.182, allocations: 3.938 kB / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.182, allocations: 3.938 kB / 0.5963 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.182, allocations: 0 / 0.5963 GB, free: 7.539 MB / 0.4981 GB 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.0006361/0.1826, allocations: 375.2 kB / 0.5966 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1827, allocations: 8.031 kB / 0.5967 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.1828, allocations: 38.75 kB / 0.5967 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1828, allocations: 4.938 kB / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.183, allocations: 172.2 kB / 0.5969 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.1831, allocations: 34.25 kB / 0.5969 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1831, allocations: 8.375 kB / 0.5969 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1834, allocations: 73.97 kB / 0.597 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1834, allocations: 0 / 0.597 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1834, allocations: 4 kB / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1834, allocations: 0 / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.1836, allocations: 47.89 kB / 0.597 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.1844, allocations: 312.8 kB / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1845, allocations: 54.56 kB / 0.5974 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1846, allocations: 32.86 kB / 0.5974 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1847, allocations: 0 / 0.5974 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1847, allocations: 38.56 kB / 0.5974 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1847, allocations: 0 / 0.5974 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003977/0.1851, allocations: 101.5 kB / 0.5975 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1852, allocations: 55.39 kB / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1853, allocations: 105.8 kB / 0.5977 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1853, allocations: 25.7 kB / 0.5977 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.1854, allocations: 96.14 kB / 0.5978 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1854, allocations: 11.81 kB / 0.5978 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.1855, allocations: 13.72 kB / 0.5978 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1856, allocations: 330.7 kB / 0.5981 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1857, allocations: 23.98 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1859, allocations: 37.69 kB / 0.5982 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.186, allocations: 49.69 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1861, allocations: 0 / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002357/0.1863, allocations: 105.7 kB / 0.5983 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1863, allocations: 4 kB / 0.5984 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1863, allocations: 0 / 0.5984 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1863, allocations: 3.938 kB / 0.5984 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1865, allocations: 15.98 kB / 0.5984 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1865, allocations: 0 / 0.5984 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.1865, allocations: 4 kB / 0.5984 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.1865, allocations: 0 / 0.5984 GB, free: 5.145 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 9.306e-05/0.1866, allocations: 121.8 kB / 0.5985 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.1867, allocations: 4 kB / 0.5985 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1867, allocations: 15.83 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1867, allocations: 0 / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1867, allocations: 4.062 kB / 0.5985 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1867, allocations: 4 kB / 0.5985 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.1869, allocations: 185.4 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1869, allocations: 0 / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.187, allocations: 11.98 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.187, allocations: 4 kB / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.187, allocations: 0 / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.187, allocations: 0 / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1871, allocations: 4 kB / 0.5987 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1873, allocations: 171.5 kB / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1874, allocations: 81.02 kB / 0.599 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1874, allocations: 8 kB / 0.599 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1875, allocations: 11.98 kB / 0.599 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1876, allocations: 7.984 kB / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1876, allocations: 3.938 kB / 0.599 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.1877, allocations: 95.56 kB / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1877, allocations: 0 / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002314/0.1879, allocations: 8 kB / 0.5991 GB, free: 4.316 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.0005743/0.1885, allocations: 0.7046 MB / 0.5998 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1887, allocations: 51.89 kB / 0.5998 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1887, allocations: 0 / 0.5998 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.1889, allocations: 32.03 kB / 0.5999 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1892, allocations: 12.89 kB / 0.5999 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1907, allocations: 1.317 MB / 0.6012 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.191, allocations: 0.6883 MB / 0.6018 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.191, allocations: 7.984 kB / 0.6018 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.1911, allocations: 19.44 kB / 0.6018 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1911, allocations: 0 / 0.6018 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/0.4997, allocations: 1.738 MB / 0.6035 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.109, allocations: 6.219 kB / 0.6036 GB, free: 43.71 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)