Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 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.0013/0.0013, allocations: 197 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002287, allocations: 275 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 101.1 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2255, allocations: 86.99 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.6664/0.8919, allocations: 166.9 MB / 0.8432 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.9089, allocations: 8.495 MB / 0.8514 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.9122, allocations: 37.44 kB / 0.8515 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.9148, allocations: 0.5655 MB / 0.852 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.9212, allocations: 1.539 MB / 0.8535 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.9247, allocations: 0.9894 MB / 0.8545 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005969/0.9307, allocations: 4.109 MB / 0.8585 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.933, allocations: 1.31 MB / 0.8598 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.9372, allocations: 1.49 MB / 0.8613 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.9404, allocations: 1.515 MB / 0.8627 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008618/0.9413, allocations: 186.6 kB / 0.8629 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.9455, allocations: 1.102 MB / 0.864 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.9469, allocations: 0.6688 MB / 0.8646 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003198/0.9501, allocations: 1.041 MB / 0.8657 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006817/0.9569, allocations: 2.739 MB / 0.8683 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.957, allocations: 0 / 0.8683 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.905e-06/0.957, allocations: 0 / 0.8683 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001504/0.9571, allocations: 0 / 0.8683 GB, free: 1.445 MB / 0.5762 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.007912/0.965, allocations: 2.262 MB / 0.8705 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.9651, allocations: 9.406 kB / 0.8705 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.9662, allocations: 195.4 kB / 0.8707 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.9687, allocations: 1.134 MB / 0.8718 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.598e-05/0.9689, allocations: 119.2 kB / 0.872 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.9691, allocations: 148.8 kB / 0.8721 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/0.9724, allocations: 1.925 MB / 0.874 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.9725, allocations: 2.781 kB / 0.874 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.9726, allocations: 60.44 kB / 0.874 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.9727, allocations: 41.97 kB / 0.8741 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.9766, allocations: 2.475 MB / 0.8765 GB, free: 12.52 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.009867/0.9865, allocations: 6.148 MB / 0.8825 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.9905, allocations: 2.798 MB / 0.8852 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.9927, allocations: 1.425 MB / 0.8866 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.9947, allocations: 1.73 MB / 0.8883 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.9947, allocations: 60.56 kB / 0.8884 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 5.18e-06/0.9948, allocations: 4 kB / 0.8884 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.006689/1.001, allocations: 3.434 MB / 0.8917 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/1.002, allocations: 73.41 kB / 0.8918 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.003, allocations: 0.7821 MB / 0.8926 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/1.003, allocations: 61.7 kB / 0.8926 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.004, allocations: 494.1 kB / 0.8931 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008254/1.005, allocations: 0.7891 MB / 0.8939 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/1.005, allocations: 347.6 kB / 0.8942 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.005, allocations: 305.1 kB / 0.8945 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.007, allocations: 0.8986 MB / 0.8954 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.008, allocations: 1.129 MB / 0.8965 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/1.012, allocations: 2.227 MB / 0.8986 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.012, allocations: 0 / 0.8986 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004088/1.016, allocations: 2.44 MB / 0.901 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.016, allocations: 8 kB / 0.901 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.016, allocations: 5.938 kB / 0.901 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/1.016, allocations: 19.94 kB / 0.9011 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.018, allocations: 431.9 kB / 0.9015 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/1.018, allocations: 19.92 kB / 0.9015 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.019, allocations: 154.3 kB / 0.9016 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.019, allocations: 75.98 kB / 0.9017 GB, free: 3.398 MB / 0.6075 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.000815/1.02, allocations: 438 kB / 0.9021 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/1.02, allocations: 138.3 kB / 0.9023 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/1.025, allocations: 2.735 MB / 0.9049 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.025, allocations: 24 kB / 0.9049 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.025, allocations: 0 / 0.9049 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003345/1.028, allocations: 2.385 MB / 0.9073 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/1.035, allocations: 4.294 MB / 0.9115 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.035, allocations: 8 kB / 0.9115 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.037, allocations: 407.4 kB / 0.9119 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/1.037, allocations: 105.6 kB / 0.912 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/1.037, allocations: 55.97 kB / 0.912 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007405/1.038, allocations: 1.115 MB / 0.9131 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.038, allocations: 4.125 kB / 0.9131 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/1.044, allocations: 4.057 MB / 0.9171 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.045, allocations: 478.6 kB / 0.9175 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/1.046, allocations: 40 kB / 0.9176 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/1.046, allocations: 47.98 kB / 0.9176 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/1.047, allocations: 141.8 kB / 0.9178 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.047, allocations: 71.98 kB / 0.9178 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007533/1.048, allocations: 0.5498 MB / 0.9184 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/1.048, allocations: 0 / 0.9184 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001629/1.049, allocations: 0.6436 MB / 0.919 GB, free: 1.438 MB / 0.6231 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.0007644/1.05, allocations: 387.3 kB / 0.9194 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009338/1.059, allocations: 4.863 MB / 0.9241 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.059, allocations: 0 / 0.9241 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.062, allocations: 1.281 MB / 0.9254 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.064, allocations: 0.583 MB / 0.9259 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/1.071, allocations: 3.795 MB / 0.9296 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009633/1.071, allocations: 1.343 MB / 0.9309 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002417/1.074, allocations: 0.7305 MB / 0.9317 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/1.074, allocations: 163.3 kB / 0.9318 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/1.074, allocations: 0 / 0.9318 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of Templates: time 0.04971/1.124, allocations: 28.05 MB / 0.9592 GB, free: 8.551 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)