Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.00163, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.001776/0.001776, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 284.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 90.36 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1506, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.9511/1.102, allocations: 299.1 MB / 0.9736 GB, free: 16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01954/1.121, allocations: 15.3 MB / 0.9886 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/1.124, allocations: 72.88 kB / 0.9887 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003638/1.128, allocations: 1.739 MB / 0.9903 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/1.144, allocations: 5.914 MB / 0.9961 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008096/1.152, allocations: 2.83 MB / 0.9989 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01028/1.162, allocations: 7.111 MB / 1.006 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/1.167, allocations: 2.71 MB / 1.008 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005391/1.172, allocations: 2.616 MB / 1.011 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005221/1.178, allocations: 2.627 MB / 1.014 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001215/1.179, allocations: 342.8 kB / 1.014 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/1.192, allocations: 5.737 MB / 1.02 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00268/1.195, allocations: 1.516 MB / 1.021 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004757/1.199, allocations: 1.925 MB / 1.023 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01456/1.214, allocations: 6.857 MB / 1.03 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.214, allocations: 4.688 kB / 1.03 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/1.214, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001988/1.214, allocations: 0.9688 kB / 1.03 GB, free: 14.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01327/1.228, allocations: 4.155 MB / 1.034 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.228, allocations: 7.938 kB / 1.034 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/1.234, allocations: 0.8427 MB / 1.034 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/1.239, allocations: 1.861 MB / 1.036 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/1.239, allocations: 219 kB / 1.037 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/1.24, allocations: 280.3 kB / 1.037 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008265/1.249, allocations: 3.629 MB / 1.04 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.249, allocations: 12.81 kB / 1.04 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/1.249, allocations: 113.3 kB / 1.04 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/1.249, allocations: 145.4 kB / 1.041 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/1.256, allocations: 3.734 MB / 1.044 GB, free: 9.914 MB / 0.7169 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.01475/1.271, allocations: 13.25 MB / 1.057 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/1.275, allocations: 3.242 MB / 1.06 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/1.277, allocations: 1.783 MB / 1.062 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/1.279, allocations: 1.589 MB / 1.064 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.279, allocations: 63.81 kB / 1.064 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=285): time 4.238e-06/1.279, allocations: 0 / 1.064 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285): time 0.007709/1.287, allocations: 4.043 MB / 1.068 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.287, allocations: 81.66 kB / 1.068 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.289, allocations: 1.432 MB / 1.069 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.289, allocations: 73.7 kB / 1.069 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.291, allocations: 1.004 MB / 1.07 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.292, allocations: 0.9691 MB / 1.071 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007431/1.293, allocations: 408.9 kB / 1.071 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.293, allocations: 309.1 kB / 1.072 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/1.295, allocations: 1.141 MB / 1.073 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/1.298, allocations: 1.384 MB / 1.074 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/1.302, allocations: 2.716 MB / 1.077 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.302, allocations: 6.625 kB / 1.077 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005488/1.307, allocations: 3.055 MB / 1.08 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.308, allocations: 8 kB / 1.08 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.308, allocations: 0 / 1.08 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/1.308, allocations: 16 kB / 1.08 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/1.31, allocations: 0.5104 MB / 1.08 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/1.31, allocations: 19.98 kB / 1.08 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.312, allocations: 197.8 kB / 1.081 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.312, allocations: 90.52 kB / 1.081 GB, free: 11.18 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (312): * Single equations (assignments): 312 * 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.001371/1.314, allocations: 0.6836 MB / 1.081 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/1.314, allocations: 233.3 kB / 1.082 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/1.32, allocations: 3.211 MB / 1.085 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.32, allocations: 28 kB / 1.085 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.32, allocations: 0 / 1.085 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004212/1.324, allocations: 2.652 MB / 1.087 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.335, allocations: 6.637 MB / 1.094 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.335, allocations: 0 / 1.094 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.338, allocations: 0.5467 MB / 1.094 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/1.338, allocations: 16.31 kB / 1.094 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/1.338, allocations: 71.97 kB / 1.094 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-05/1.338, allocations: 14.44 kB / 1.094 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.338, allocations: 4 kB / 1.094 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007541/1.346, allocations: 4.823 MB / 1.099 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.347, allocations: 0.6149 MB / 1.1 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/1.348, allocations: 55.98 kB / 1.1 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.349, allocations: 68.8 kB / 1.1 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.349, allocations: 184.3 kB / 1.1 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.35, allocations: 87.97 kB / 1.1 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001294/1.351, allocations: 0.9852 MB / 1.101 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/1.351, allocations: 0 / 1.101 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002004/1.353, allocations: 0.9939 MB / 1.102 GB, free: 5 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (285): * Single equations (assignments): 285 * 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.0007293/1.354, allocations: 411.7 kB / 1.102 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004347/1.358, allocations: 2.862 MB / 1.105 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.358, allocations: 0 / 1.105 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.36, allocations: 1.554 MB / 1.107 GB, free: 304 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/1.365, allocations: 1.334 MB / 1.108 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/1.374, allocations: 6.317 MB / 1.114 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.376, allocations: 1.99 MB / 1.116 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002823/1.379, allocations: 0.8946 MB / 1.117 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/1.38, allocations: 207.4 kB / 1.117 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/1.38, allocations: 0 / 1.117 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of Templates: time 0.07629/1.456, allocations: 50.56 MB / 1.167 GB, free: 3.816 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)