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.004997/0.004998, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001181/0.001181, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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 0.816/0.816, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 65 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1483, allocations: 82.02 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002637/0.151, allocations: 1.498 MB / 0.6766 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.1513, allocations: 131.6 kB / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.1514, allocations: 0 / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.1514, allocations: 3.938 kB / 0.6767 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.1515, allocations: 7.875 kB / 0.6767 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1518, allocations: 75 kB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1519, allocations: 55.84 kB / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.152, allocations: 19.98 kB / 0.6769 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.1521, allocations: 27.92 kB / 0.6769 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.1521, allocations: 31.83 kB / 0.6769 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1522, allocations: 4 kB / 0.677 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.1522, allocations: 8 kB / 0.677 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.1522, allocations: 7.984 kB / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1523, allocations: 27.86 kB / 0.677 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1524, allocations: 56.02 kB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1524, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1524, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1524, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 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.000498/0.1529, allocations: 379.2 kB / 0.6774 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.153, allocations: 12.03 kB / 0.6774 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.153, allocations: 34.75 kB / 0.6775 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.153, allocations: 8.891 kB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1532, allocations: 168.4 kB / 0.6776 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.1532, allocations: 30.2 kB / 0.6777 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1532, allocations: 8.375 kB / 0.6777 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1535, allocations: 77.97 kB / 0.6777 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1535, allocations: 0 / 0.6777 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1535, allocations: 0 / 0.6777 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1535, allocations: 0 / 0.6777 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.1537, allocations: 51.94 kB / 0.6778 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.1543, allocations: 324.6 kB / 0.6781 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1544, allocations: 54.53 kB / 0.6781 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.1545, allocations: 24.94 kB / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.1545, allocations: 7.938 kB / 0.6782 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1546, allocations: 38.55 kB / 0.6782 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1546, allocations: 4 kB / 0.6782 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0003518/0.1549, allocations: 101.5 kB / 0.6783 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.155, allocations: 51.41 kB / 0.6784 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.1551, allocations: 105.8 kB / 0.6785 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1551, allocations: 29.7 kB / 0.6785 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1551, allocations: 84.14 kB / 0.6786 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1551, allocations: 19.89 kB / 0.6786 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.1552, allocations: 17.72 kB / 0.6786 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1553, allocations: 318.8 kB / 0.6789 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1554, allocations: 23.97 kB / 0.6789 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.1555, allocations: 33.7 kB / 0.679 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1557, allocations: 65.61 kB / 0.679 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1557, allocations: 0 / 0.679 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002254/0.1559, allocations: 85.61 kB / 0.6791 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.156, allocations: 4 kB / 0.6791 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.156, allocations: 3.938 kB / 0.6791 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.156, allocations: 0 / 0.6791 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.1561, allocations: 23.95 kB / 0.6791 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1561, allocations: 0 / 0.6791 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.1562, allocations: 11.92 kB / 0.6792 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1562, allocations: 4 kB / 0.6792 GB, free: 6.492 MB / 0.5137 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 6.869e-05/0.1562, allocations: 113.8 kB / 0.6793 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.1563, allocations: 4 kB / 0.6793 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.1563, allocations: 7.906 kB / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1563, allocations: 0 / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1563, allocations: 0 / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1563, allocations: 8 kB / 0.6793 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1565, allocations: 177.5 kB / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1565, allocations: 0 / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.1566, allocations: 11.98 kB / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1566, allocations: 0 / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1566, allocations: 4 kB / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1566, allocations: 0 / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1566, allocations: 0 / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1569, allocations: 183.4 kB / 0.6796 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.1569, allocations: 85.06 kB / 0.6797 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1569, allocations: 0 / 0.6797 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1571, allocations: 12.27 kB / 0.6797 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.1571, allocations: 4 kB / 0.6797 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1571, allocations: 0 / 0.6797 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.1572, allocations: 91.52 kB / 0.6798 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1572, allocations: 4 kB / 0.6798 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002303/0.1574, allocations: 12 kB / 0.6798 GB, free: 5.691 MB / 0.5137 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.0005214/0.158, allocations: 0.7123 MB / 0.6805 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1582, allocations: 51.95 kB / 0.6806 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1582, allocations: 0 / 0.6806 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.1583, allocations: 27.92 kB / 0.6806 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1586, allocations: 6.531 kB / 0.6806 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.16, allocations: 1.348 MB / 0.6819 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1603, allocations: 0.6846 MB / 0.6826 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.1603, allocations: 0 / 0.6826 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.1604, allocations: 19.42 kB / 0.6826 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 4 kB / 0.6826 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.1778, allocations: 1.774 MB / 0.6844 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.788, allocations: 19.12 kB / 0.6844 GB, free: 1.035 MB / 0.5137 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)