Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.00161, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001562/0.001562, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 284.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 178.5 MB / 0.5076 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 91.84 kB / 0.6066 GB, free: 9.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1795, allocations: 89.14 MB / 0.6936 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.501/0.6805, allocations: 215.7 MB / 0.9043 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03025/0.7108, allocations: 20.34 MB / 0.9241 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.7144, allocations: 51.69 kB / 0.9242 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.7185, allocations: 1.116 MB / 0.9253 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.7299, allocations: 3.839 MB / 0.929 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.7343, allocations: 1.412 MB / 0.9304 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009774/0.7441, allocations: 6.959 MB / 0.9372 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.7483, allocations: 2.319 MB / 0.9394 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006444/0.7548, allocations: 2.391 MB / 0.9418 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006339/0.7612, allocations: 2.611 MB / 0.9443 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.7624, allocations: 344 kB / 0.9447 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008509/0.7709, allocations: 3.632 MB / 0.9482 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002358/0.7734, allocations: 1.454 MB / 0.9496 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003868/0.7772, allocations: 1.863 MB / 0.9514 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007115/0.7844, allocations: 4.311 MB / 0.9557 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.7844, allocations: 7.922 kB / 0.9557 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7844, allocations: 4 kB / 0.9557 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001105/0.7846, allocations: 0 / 0.9557 GB, free: 14.05 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01172/0.7963, allocations: 3.933 MB / 0.9595 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.7964, allocations: 16.02 kB / 0.9595 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.802, allocations: 0.8236 MB / 0.9603 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.8065, allocations: 1.887 MB / 0.9622 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.8068, allocations: 205.4 kB / 0.9624 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/0.8074, allocations: 267.9 kB / 0.9626 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006284/0.8137, allocations: 3.285 MB / 0.9658 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.756e-05/0.8138, allocations: 4 kB / 0.9658 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/0.8141, allocations: 108 kB / 0.9659 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.8142, allocations: 125.4 kB / 0.9661 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008341/0.8226, allocations: 4.623 MB / 0.9706 GB, free: 14.61 MB / 0.7325 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.01958/0.8422, allocations: 10.86 MB / 0.9812 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2608/1.103, allocations: 4.86 MB / 0.9859 GB, free: 230.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/1.107, allocations: 2.523 MB / 0.9884 GB, free: 230 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/1.108, allocations: 0.8661 MB / 0.9892 GB, free: 229.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/1.108, allocations: 78.67 kB / 0.9893 GB, free: 229.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=399): time 5.57e-06/1.108, allocations: 2.406 kB / 0.9893 GB, free: 229.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=399): time 0.008458/1.116, allocations: 6.027 MB / 0.9952 GB, free: 226.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/1.116, allocations: 95.02 kB / 0.9953 GB, free: 226.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/1.118, allocations: 1.225 MB / 0.9965 GB, free: 226.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003437/1.118, allocations: 92.45 kB / 0.9966 GB, free: 226.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/1.119, allocations: 0.8121 MB / 0.9974 GB, free: 225.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009176/1.12, allocations: 1.334 MB / 0.9987 GB, free: 224.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007214/1.12, allocations: 0.5437 MB / 0.9992 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/1.12, allocations: 303.9 kB / 0.9995 GB, free: 224.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/1.122, allocations: 1.61 MB / 1.001 GB, free: 223.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/1.125, allocations: 1.904 MB / 1.003 GB, free: 222.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004869/1.13, allocations: 3.832 MB / 1.007 GB, free: 221.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.13, allocations: 0.6875 kB / 1.007 GB, free: 221.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005932/1.136, allocations: 4.197 MB / 1.011 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.136, allocations: 10.89 kB / 1.011 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.136, allocations: 2.906 kB / 1.011 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/1.136, allocations: 17.84 kB / 1.011 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/1.138, allocations: 0.6852 MB / 1.011 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.925e-05/1.139, allocations: 18.69 kB / 1.011 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.141, allocations: 403 kB / 1.012 GB, free: 219.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/1.142, allocations: 113.8 kB / 1.012 GB, free: 219.3 MB / 0.7325 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 (430): * Single equations (assignments): 430 * 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.001203/1.143, allocations: 0.7351 MB / 1.013 GB, free: 218.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/1.144, allocations: 237.2 kB / 1.013 GB, free: 218.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007289/1.151, allocations: 4.635 MB / 1.017 GB, free: 217 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.151, allocations: 38.03 kB / 1.017 GB, free: 217 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.151, allocations: 4.188 kB / 1.017 GB, free: 217 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005742/1.157, allocations: 3.962 MB / 1.021 GB, free: 215.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.17, allocations: 8.291 MB / 1.029 GB, free: 212.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.17, allocations: 0 / 1.029 GB, free: 212.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/1.173, allocations: 0.655 MB / 1.03 GB, free: 212.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/1.173, allocations: 144.3 kB / 1.03 GB, free: 212.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/1.174, allocations: 82.8 kB / 1.03 GB, free: 212 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/1.177, allocations: 5.031 MB / 1.035 GB, free: 207.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.177, allocations: 0 / 1.035 GB, free: 207.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.187, allocations: 6.821 MB / 1.042 GB, free: 204.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.189, allocations: 0.7633 MB / 1.043 GB, free: 204 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007068/1.19, allocations: 69.16 kB / 1.043 GB, free: 203.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.192, allocations: 216.4 kB / 1.043 GB, free: 203.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/1.193, allocations: 224.5 kB / 1.043 GB, free: 203.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.193, allocations: 112.9 kB / 1.043 GB, free: 203.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001349/1.195, allocations: 0.8613 MB / 1.044 GB, free: 203.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.195, allocations: 0 / 1.044 GB, free: 203.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003587/1.198, allocations: 1.084 MB / 1.045 GB, free: 203.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009068/1.199, allocations: 347.5 kB / 1.045 GB, free: 203.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02142/1.221, allocations: 11.49 MB / 1.057 GB, free: 201.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.221, allocations: 2.875 kB / 1.057 GB, free: 201.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/1.224, allocations: 2.552 MB / 1.059 GB, free: 198.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.23, allocations: 1.081 MB / 1.06 GB, free: 198 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.24, allocations: 7.998 MB / 1.068 GB, free: 190.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.242, allocations: 1.942 MB / 1.07 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.243, allocations: 281.1 kB / 1.07 GB, free: 189 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.243, allocations: 0 / 1.07 GB, free: 189 MB / 0.7325 GB Notification: Performance of Templates: time 0.05977/1.303, allocations: 58.05 MB / 1.127 GB, free: 134.5 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)