Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.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.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",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.008865/0.008873, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001949/0.001949, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.433/1.433, 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.8958/0.8958, allocations: 143.1 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.19 kB / 0.595 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 82.03 MB / 0.6751 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor): time 0.5108/0.6555, allocations: 166.9 MB / 0.8382 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.6687, allocations: 8.501 MB / 0.8465 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.6704, allocations: 37.12 kB / 0.8465 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.672, allocations: 0.5719 MB / 0.8471 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.6758, allocations: 1.56 MB / 0.8486 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.6782, allocations: 1.007 MB / 0.8496 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004053/0.6823, allocations: 4.103 MB / 0.8536 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.6839, allocations: 1.322 MB / 0.8549 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.687, allocations: 1.524 MB / 0.8564 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.689, allocations: 1.503 MB / 0.8578 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.6893, allocations: 192 kB / 0.858 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.6916, allocations: 1.1 MB / 0.8591 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000615/0.6922, allocations: 0.6701 MB / 0.8597 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.6933, allocations: 1.031 MB / 0.8607 GB, free: 0 / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.6967, allocations: 2.887 MB / 0.8636 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6967, allocations: 3.938 kB / 0.8636 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6967, allocations: 0 / 0.8636 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.505e-05/0.6968, allocations: 4 kB / 0.8636 GB, free: 13.09 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004503/0.7013, allocations: 2.31 MB / 0.8658 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7013, allocations: 8.031 kB / 0.8658 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002665/0.7016, allocations: 227.9 kB / 0.866 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.7021, allocations: 207.7 kB / 0.8662 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.7042, allocations: 1.193 MB / 0.8674 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.7043, allocations: 112.5 kB / 0.8675 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.7045, allocations: 148 kB / 0.8677 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.7076, allocations: 1.923 MB / 0.8695 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.7076, allocations: 4 kB / 0.8695 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.7078, allocations: 71.92 kB / 0.8696 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.7078, allocations: 36 kB / 0.8696 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.7117, allocations: 2.475 MB / 0.8721 GB, free: 4.23 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008313/0.72, allocations: 6.141 MB / 0.8781 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.7237, allocations: 2.806 MB / 0.8808 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.7258, allocations: 1.425 MB / 0.8822 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.7274, allocations: 1.738 MB / 0.8839 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.7275, allocations: 56.56 kB / 0.8839 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=237): time 3.747e-06/0.7275, allocations: 0 / 0.8839 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=237): time 0.005679/0.7332, allocations: 3.442 MB / 0.8873 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.7332, allocations: 77.41 kB / 0.8874 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.7344, allocations: 0.7705 MB / 0.8881 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.7345, allocations: 65.7 kB / 0.8882 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.7349, allocations: 0.4913 MB / 0.8887 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/0.7355, allocations: 0.8288 MB / 0.8895 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/0.736, allocations: 351.7 kB / 0.8898 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.7361, allocations: 301.1 kB / 0.8901 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.7376, allocations: 0.9058 MB / 0.891 GB, free: 15.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.7393, allocations: 1.121 MB / 0.8921 GB, free: 14.81 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/0.7427, allocations: 2.227 MB / 0.8943 GB, free: 12.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.7427, allocations: 6.5 kB / 0.8943 GB, free: 12.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004005/0.7467, allocations: 2.441 MB / 0.8966 GB, free: 10.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.7467, allocations: 11.94 kB / 0.8967 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.7468, allocations: 4 kB / 0.8967 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.706e-05/0.7468, allocations: 12.47 kB / 0.8967 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.7486, allocations: 447.4 kB / 0.8971 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.921e-05/0.7486, allocations: 12 kB / 0.8971 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.7497, allocations: 158.8 kB / 0.8973 GB, free: 9.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.7499, allocations: 71.98 kB / 0.8973 GB, free: 9.383 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0006944/0.7506, allocations: 437.2 kB / 0.8977 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.751, allocations: 155 kB / 0.8979 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.7556, allocations: 2.718 MB / 0.9005 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.7556, allocations: 23.94 kB / 0.9006 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.7556, allocations: 4 kB / 0.9006 GB, free: 6.031 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00357/0.7592, allocations: 2.385 MB / 0.9029 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/0.7656, allocations: 4.306 MB / 0.9071 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7657, allocations: 4 kB / 0.9071 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.7673, allocations: 407.4 kB / 0.9075 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.7679, allocations: 101.7 kB / 0.9076 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.7681, allocations: 51.98 kB / 0.9076 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007213/0.7688, allocations: 1.12 MB / 0.9087 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7688, allocations: 0 / 0.9087 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006023/0.7748, allocations: 4.066 MB / 0.9127 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/0.7757, allocations: 492.3 kB / 0.9132 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.776, allocations: 44 kB / 0.9132 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.777, allocations: 47.98 kB / 0.9133 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.7772, allocations: 137.8 kB / 0.9134 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.7774, allocations: 71.98 kB / 0.9135 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000712/0.7781, allocations: 0.5459 MB / 0.914 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7781, allocations: 0 / 0.914 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001422/0.7795, allocations: 0.6552 MB / 0.9146 GB, free: 7.395 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006978/0.7865, allocations: 4.915 MB / 0.9194 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.7901, allocations: 2.325 MB / 0.9217 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7902, allocations: 0 / 0.9217 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.7921, allocations: 1.288 MB / 0.923 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.7946, allocations: 0.5773 MB / 0.9235 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.8143, allocations: 13.67 MB / 0.9369 GB, free: 332 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009489/0.8153, allocations: 1.343 MB / 0.9382 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001911/0.8172, allocations: 0.719 MB / 0.9389 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009928/0.8182, allocations: 0.6203 MB / 0.9395 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/0.8182, allocations: 0 / 0.9395 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/0.8869, allocations: 40.1 MB / 0.9787 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.35, allocations: 7.812 kB / 0.9787 GB, free: 5.965 MB / 0.7481 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)