Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",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.001297/0.001298, allocations: 107.5 kB / 16.4 MB, free: 6.516 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.001319/0.001319, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7988/0.7988, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 62.64 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, allocations: 78.87 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed): time 0.5408/0.6909, allocations: 198.7 MB / 0.8445 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.7025, allocations: 9.435 MB / 0.8538 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7037, allocations: 19.97 kB / 0.8538 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.7054, allocations: 0.6146 MB / 0.8544 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.7102, allocations: 2.008 MB / 0.8563 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.7121, allocations: 0.7437 MB / 0.8571 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.7144, allocations: 2.091 MB / 0.8591 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009719/0.7154, allocations: 0.7637 MB / 0.8599 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.7182, allocations: 1.511 MB / 0.8613 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009246/0.7191, allocations: 0.7095 MB / 0.862 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.7192, allocations: 68 kB / 0.8621 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.7229, allocations: 1.937 MB / 0.864 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004031/0.7233, allocations: 347 kB / 0.8643 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.7239, allocations: 0.5016 MB / 0.8648 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.7266, allocations: 1.847 MB / 0.8666 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7266, allocations: 0 / 0.8666 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7267, allocations: 3.938 kB / 0.8666 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.7267, allocations: 4 kB / 0.8666 GB, free: 5.902 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003348/0.73, allocations: 1.467 MB / 0.868 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7301, allocations: 8.031 kB / 0.8681 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.7302, allocations: 122.5 kB / 0.8682 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000615/0.7308, allocations: 151.3 kB / 0.8683 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.7317, allocations: 0.5843 MB / 0.8689 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.7318, allocations: 50 kB / 0.8689 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.7319, allocations: 75.98 kB / 0.869 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.7332, allocations: 0.8626 MB / 0.8698 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7332, allocations: 0 / 0.8698 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.7333, allocations: 24 kB / 0.8699 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.319e-05/0.7334, allocations: 49.98 kB / 0.8699 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.7347, allocations: 0.7767 MB / 0.8707 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/0.7397, allocations: 4.523 MB / 0.8751 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.7404, allocations: 425.9 kB / 0.8755 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.7407, allocations: 185.4 kB / 0.8757 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.7415, allocations: 0.7639 MB / 0.8764 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.7415, allocations: 38.89 kB / 0.8765 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.7415, allocations: 0 / 0.8765 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001228/0.7427, allocations: 0.6041 MB / 0.877 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7428, allocations: 59.39 kB / 0.8771 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7438, allocations: 0.8681 MB / 0.878 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.7439, allocations: 37.7 kB / 0.878 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.7441, allocations: 388.2 kB / 0.8784 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7443, allocations: 142.8 kB / 0.8785 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.7444, allocations: 106.1 kB / 0.8786 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7446, allocations: 326 kB / 0.8789 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.7449, allocations: 185 kB / 0.8791 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.7453, allocations: 277.6 kB / 0.8793 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.7461, allocations: 448.3 kB / 0.8798 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7461, allocations: 7.938 kB / 0.8798 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009596/0.747, allocations: 0.5898 MB / 0.8804 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7471, allocations: 4 kB / 0.8804 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7471, allocations: 4 kB / 0.8804 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.7471, allocations: 7.938 kB / 0.8804 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.7476, allocations: 99.83 kB / 0.8805 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.7476, allocations: 4.875 kB / 0.8805 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.7481, allocations: 79.61 kB / 0.8805 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.7482, allocations: 24 kB / 0.8806 GB, free: 6.633 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 57 * 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.0002758/0.7484, allocations: 245.9 kB / 0.8808 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.7486, allocations: 91.42 kB / 0.8809 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009642/0.7495, allocations: 0.5482 MB / 0.8814 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7496, allocations: 7.938 kB / 0.8814 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7496, allocations: 0 / 0.8814 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.7496, allocations: 10.05 kB / 0.8814 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.7526, allocations: 2.116 MB / 0.8835 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.7526, allocations: 8 kB / 0.8835 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.753, allocations: 91.83 kB / 0.8836 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.753, allocations: 8 kB / 0.8836 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.7531, allocations: 20 kB / 0.8836 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.7531, allocations: 15.92 kB / 0.8837 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.7531, allocations: 8 kB / 0.8837 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.7544, allocations: 0.9914 MB / 0.8846 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.7547, allocations: 224.3 kB / 0.8848 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7548, allocations: 12 kB / 0.8849 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.7553, allocations: 24.03 kB / 0.8849 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.7554, allocations: 63.75 kB / 0.8849 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.7554, allocations: 16 kB / 0.885 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007362/0.7561, allocations: 0.6239 MB / 0.8856 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7562, allocations: 0 / 0.8856 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006585/0.7568, allocations: 247.6 kB / 0.8858 GB, free: 0.9766 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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.001936/0.7588, allocations: 1.662 MB / 0.8874 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007909/0.7596, allocations: 458.4 kB / 0.8879 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7596, allocations: 0 / 0.8879 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.76, allocations: 236.5 kB / 0.8881 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.7621, allocations: 495.8 kB / 0.8886 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.7704, allocations: 6.618 MB / 0.895 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.7711, allocations: 1.008 MB / 0.896 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006323/0.7717, allocations: 183.1 kB / 0.8962 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.7721, allocations: 291.3 kB / 0.8965 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7721, allocations: 0 / 0.8965 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.8268, allocations: 24.28 MB / 0.9202 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.98/9.806, allocations: 11.66 kB / 0.9202 GB, free: 13.64 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)