Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_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.001043/0.001043, allocations: 108 kB / 15.6 MB, free: 132 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.001159/0.001159, allocations: 194.7 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 290.4 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9456/0.9456, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 94.42 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1369, allocations: 86.99 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.4435/0.5805, allocations: 198.6 MB / 0.8743 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.5913, allocations: 9.446 MB / 0.8835 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006982/0.592, allocations: 20 kB / 0.8835 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.5934, allocations: 0.6148 MB / 0.8841 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.5976, allocations: 2.018 MB / 0.8861 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.5993, allocations: 0.7242 MB / 0.8868 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.6011, allocations: 2.112 MB / 0.8888 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008934/0.602, allocations: 0.7684 MB / 0.8896 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.604, allocations: 1.355 MB / 0.8909 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008026/0.6048, allocations: 0.7322 MB / 0.8916 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.6049, allocations: 72.72 kB / 0.8917 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.6079, allocations: 1.939 MB / 0.8936 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.6083, allocations: 349.7 kB / 0.8939 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.6087, allocations: 0.4944 MB / 0.8944 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.6109, allocations: 1.844 MB / 0.8962 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6109, allocations: 0 / 0.8962 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6109, allocations: 0 / 0.8962 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.6109, allocations: 0 / 0.8962 GB, free: 9.551 MB / 0.6075 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.0032/0.6141, allocations: 1.44 MB / 0.8976 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.6142, allocations: 7.688 kB / 0.8976 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.6143, allocations: 122.1 kB / 0.8977 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.6149, allocations: 149.6 kB / 0.8979 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.6157, allocations: 0.563 MB / 0.8984 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.6158, allocations: 53.98 kB / 0.8985 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/0.6159, allocations: 64 kB / 0.8985 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.6171, allocations: 0.8626 MB / 0.8994 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.6171, allocations: 0 / 0.8994 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.6172, allocations: 31.98 kB / 0.8994 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.6173, allocations: 49.97 kB / 0.8995 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.6186, allocations: 0.769 MB / 0.9002 GB, free: 5.953 MB / 0.6075 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.004737/0.6233, allocations: 4.55 MB / 0.9047 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.6241, allocations: 423 kB / 0.9051 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.6244, allocations: 193.4 kB / 0.9052 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/0.625, allocations: 0.76 MB / 0.906 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.6251, allocations: 34.83 kB / 0.906 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.6251, allocations: 0 / 0.906 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.001237/0.6263, allocations: 0.6102 MB / 0.9066 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.6264, allocations: 59.34 kB / 0.9067 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/0.6274, allocations: 0.8641 MB / 0.9075 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.6274, allocations: 29.7 kB / 0.9075 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.6277, allocations: 391.7 kB / 0.9079 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6278, allocations: 141.9 kB / 0.9081 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.628, allocations: 98.16 kB / 0.9081 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6281, allocations: 330 kB / 0.9085 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.6284, allocations: 181 kB / 0.9086 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.6288, allocations: 278.8 kB / 0.9089 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.6295, allocations: 446.6 kB / 0.9093 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6295, allocations: 4 kB / 0.9093 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009792/0.6305, allocations: 0.5825 MB / 0.9099 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6305, allocations: 4 kB / 0.9099 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.6306, allocations: 4 kB / 0.9099 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6306, allocations: 7.984 kB / 0.9099 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.6311, allocations: 112 kB / 0.91 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6311, allocations: 11.25 kB / 0.91 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.6317, allocations: 75.11 kB / 0.9101 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.6317, allocations: 20 kB / 0.9101 GB, free: 10.98 MB / 0.6231 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.000271/0.632, allocations: 241.6 kB / 0.9104 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.6321, allocations: 82.97 kB / 0.9104 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.6331, allocations: 0.5515 MB / 0.911 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6331, allocations: 8.031 kB / 0.911 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6331, allocations: 7.938 kB / 0.911 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6331, allocations: 0 / 0.911 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.6362, allocations: 2.111 MB / 0.913 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.6362, allocations: 11.94 kB / 0.9131 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.6366, allocations: 88.7 kB / 0.9131 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.6366, allocations: 8 kB / 0.9132 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.6367, allocations: 27.88 kB / 0.9132 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.6367, allocations: 8 kB / 0.9132 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.6367, allocations: 15.92 kB / 0.9132 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.638, allocations: 0.9826 MB / 0.9142 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.6382, allocations: 215.9 kB / 0.9144 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.6384, allocations: 20 kB / 0.9144 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.6389, allocations: 19.98 kB / 0.9144 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.639, allocations: 43.91 kB / 0.9144 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.639, allocations: 23.98 kB / 0.9145 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007225/0.6397, allocations: 0.6278 MB / 0.9151 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6397, allocations: 0 / 0.9151 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006794/0.6404, allocations: 247.6 kB / 0.9153 GB, free: 5.348 MB / 0.6231 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.001831/0.6423, allocations: 1.653 MB / 0.9169 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000814/0.6431, allocations: 476.8 kB / 0.9174 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6431, allocations: 0 / 0.9174 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.6435, allocations: 237.5 kB / 0.9176 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.6457, allocations: 496.5 kB / 0.9181 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/0.6539, allocations: 6.88 MB / 0.9248 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.6545, allocations: 1.012 MB / 0.9258 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000708/0.6552, allocations: 175.1 kB / 0.926 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.6556, allocations: 295.3 kB / 0.9262 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6557, allocations: 0 / 0.9262 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/0.7033, allocations: 24.11 MB / 0.9498 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.25, allocations: 15.56 kB / 0.9498 GB, free: 1.957 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)