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: translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 92 kB / 15.06 MB, free: 1.098 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.001016/0.001016, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 266.9 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005407, allocations: 19.95 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1792, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.5648/0.744, allocations: 180.8 MB / 0.8611 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.7549, allocations: 8.781 MB / 0.8696 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000907/0.7559, allocations: 15.41 kB / 0.8697 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.7573, allocations: 398.8 kB / 0.87 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.7618, allocations: 1.478 MB / 0.8715 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.7635, allocations: 0.5737 MB / 0.872 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.7665, allocations: 2.647 MB / 0.8746 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.7674, allocations: 0.5891 MB / 0.8752 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.7701, allocations: 1.152 MB / 0.8763 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.7714, allocations: 0.7313 MB / 0.877 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/0.7715, allocations: 41.34 kB / 0.8771 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.7745, allocations: 1.149 MB / 0.8782 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.775, allocations: 314.7 kB / 0.8785 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.7753, allocations: 210 kB / 0.8787 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.777, allocations: 1.173 MB / 0.8798 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.777, allocations: 0 / 0.8798 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.777, allocations: 0 / 0.8798 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.777, allocations: 4 kB / 0.8799 GB, free: 7.855 MB / 0.5919 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.003003/0.78, allocations: 1.264 MB / 0.8811 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7801, allocations: 14.88 kB / 0.8811 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.7807, allocations: 156 kB / 0.8812 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.7815, allocations: 0.5472 MB / 0.8818 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.7815, allocations: 53.98 kB / 0.8818 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.7817, allocations: 67.91 kB / 0.8819 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.783, allocations: 0.8665 MB / 0.8827 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.783, allocations: 0 / 0.8827 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.7831, allocations: 31.98 kB / 0.8828 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.7831, allocations: 49.97 kB / 0.8828 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.7844, allocations: 0.7729 MB / 0.8836 GB, free: 4.457 MB / 0.5919 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.005198/0.7896, allocations: 4.514 MB / 0.888 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.7903, allocations: 420.5 kB / 0.8884 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.7906, allocations: 193.4 kB / 0.8886 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.7913, allocations: 0.7639 MB / 0.8893 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.7913, allocations: 38.83 kB / 0.8894 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.7913, allocations: 0 / 0.8894 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001301/0.7926, allocations: 0.6222 MB / 0.89 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.7927, allocations: 59.34 kB / 0.89 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7937, allocations: 0.8563 MB / 0.8909 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.7937, allocations: 33.7 kB / 0.8909 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.794, allocations: 387.6 kB / 0.8913 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.7942, allocations: 142 kB / 0.8914 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.7942, allocations: 12 kB / 0.8914 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7943, allocations: 326 kB / 0.8917 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.7946, allocations: 192.9 kB / 0.8919 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.7951, allocations: 277.6 kB / 0.8922 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.7955, allocations: 221.5 kB / 0.8924 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7955, allocations: 0 / 0.8924 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000985/0.7965, allocations: 0.586 MB / 0.8929 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7965, allocations: 12 kB / 0.893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7965, allocations: 0 / 0.893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7965, allocations: 7.953 kB / 0.893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.797, allocations: 103.8 kB / 0.8931 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.797, allocations: 4 kB / 0.8931 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/0.7977, allocations: 103.6 kB / 0.8932 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.7977, allocations: 20 kB / 0.8932 GB, free: 9.82 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.798, allocations: 246.3 kB / 0.8934 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7981, allocations: 79.06 kB / 0.8935 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/0.7991, allocations: 0.56 MB / 0.894 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.7992, allocations: 8 kB / 0.8941 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7992, allocations: 3.953 kB / 0.8941 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7992, allocations: 3.938 kB / 0.8941 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.8022, allocations: 2.139 MB / 0.8961 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8023, allocations: 4 kB / 0.8962 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.8026, allocations: 96.58 kB / 0.8962 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.8027, allocations: 15.95 kB / 0.8963 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.8027, allocations: 20 kB / 0.8963 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.8027, allocations: 8 kB / 0.8963 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.8027, allocations: 11.94 kB / 0.8963 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.8041, allocations: 0.9951 MB / 0.8973 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.8044, allocations: 227.9 kB / 0.8975 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.8045, allocations: 21.75 kB / 0.8975 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.805, allocations: 48.03 kB / 0.8976 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.8051, allocations: 51.78 kB / 0.8976 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.8051, allocations: 16 kB / 0.8976 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007406/0.8059, allocations: 0.6239 MB / 0.8982 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8059, allocations: 0 / 0.8982 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007577/0.8067, allocations: 247.6 kB / 0.8985 GB, free: 4.113 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004915/0.8072, allocations: 238.9 kB / 0.8987 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000787/0.808, allocations: 454.6 kB / 0.8991 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.808, allocations: 4 kB / 0.8991 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.8084, allocations: 237.6 kB / 0.8994 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.8104, allocations: 484.3 kB / 0.8998 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.8129, allocations: 1.811 MB / 0.9016 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.8135, allocations: 1.009 MB / 0.9026 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006901/0.8142, allocations: 183.1 kB / 0.9027 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.8144, allocations: 63.42 kB / 0.9028 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.8144, allocations: 0 / 0.9028 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.02582/0.8402, allocations: 15.86 MB / 0.9183 GB, free: 15.89 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)