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.001108/0.001108, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005794/0.005794, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 266.5 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9612/0.9612, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004555, allocations: 10.16 kB / 0.5986 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.191, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5835/0.7745, allocations: 213.2 MB / 0.8933 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02878/0.8033, allocations: 20.52 MB / 0.9133 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.8056, allocations: 51.69 kB / 0.9134 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.8085, allocations: 1.085 MB / 0.9145 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.8185, allocations: 3.847 MB / 0.9182 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.8222, allocations: 1.386 MB / 0.9196 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.8328, allocations: 9.525 MB / 0.9289 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.8361, allocations: 1.937 MB / 0.9308 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.8398, allocations: 1.961 MB / 0.9327 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.8437, allocations: 2.464 MB / 0.9351 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.8441, allocations: 160 kB / 0.9352 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006717/0.8508, allocations: 3.928 MB / 0.9391 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.8521, allocations: 1.258 MB / 0.9403 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.854, allocations: 1.681 MB / 0.9419 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006509/0.8605, allocations: 5.728 MB / 0.9475 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8605, allocations: 4 kB / 0.9475 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8605, allocations: 0 / 0.9475 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.8606, allocations: 4 kB / 0.9475 GB, free: 2.941 MB / 0.6544 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.007532/0.8681, allocations: 3.454 MB / 0.9509 GB, free: 15.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8682, allocations: 8.031 kB / 0.9509 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.8725, allocations: 0.8353 MB / 0.9517 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.8754, allocations: 1.883 MB / 0.9536 GB, free: 12.64 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.8756, allocations: 197.4 kB / 0.9538 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.876, allocations: 279.9 kB / 0.954 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00503/0.881, allocations: 3.271 MB / 0.9572 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.8811, allocations: 8 kB / 0.9572 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.8814, allocations: 116 kB / 0.9573 GB, free: 8.734 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.8815, allocations: 125.4 kB / 0.9575 GB, free: 8.609 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00693/0.8884, allocations: 4.627 MB / 0.962 GB, free: 3.969 MB / 0.67 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.0158/0.9042, allocations: 10.88 MB / 0.9726 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/0.9102, allocations: 4.863 MB / 0.9774 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/0.9139, allocations: 2.524 MB / 0.9798 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.915, allocations: 0.876 MB / 0.9807 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.9151, allocations: 73.7 kB / 0.9807 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=399): time 5.44e-06/0.9151, allocations: 0 / 0.9807 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=399): time 0.009344/0.9245, allocations: 6.046 MB / 0.9866 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.9245, allocations: 94.55 kB / 0.9867 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.9262, allocations: 1.224 MB / 0.9879 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.9264, allocations: 97.7 kB / 0.988 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.927, allocations: 0.8134 MB / 0.9888 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.9281, allocations: 1.332 MB / 0.9901 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.9285, allocations: 268.8 kB / 0.9904 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.9286, allocations: 313.1 kB / 0.9907 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.931, allocations: 1.603 MB / 0.9922 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.9337, allocations: 1.905 MB / 0.9941 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/0.9391, allocations: 3.835 MB / 0.9978 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.9392, allocations: 3.938 kB / 0.9979 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006326/0.9455, allocations: 4.199 MB / 1.002 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.9455, allocations: 11.94 kB / 1.002 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.9456, allocations: 4 kB / 1.002 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.9456, allocations: 20 kB / 1.002 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.9484, allocations: 0.6826 MB / 1.003 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/0.9484, allocations: 16 kB / 1.003 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.9512, allocations: 405.1 kB / 1.003 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.9514, allocations: 116 kB / 1.003 GB, free: 8.609 MB / 0.7169 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.001256/0.9527, allocations: 0.7292 MB / 1.004 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.9531, allocations: 245 kB / 1.004 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00742/0.9605, allocations: 4.635 MB / 1.009 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-05/0.9605, allocations: 43.94 kB / 1.009 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.9606, allocations: 0 / 1.009 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005719/0.9663, allocations: 3.961 MB / 1.013 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.9786, allocations: 8.284 MB / 1.021 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.9787, allocations: 0 / 1.021 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/0.9816, allocations: 0.6631 MB / 1.021 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.9821, allocations: 146.5 kB / 1.021 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/0.9823, allocations: 87.86 kB / 1.022 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.986, allocations: 4.517 MB / 1.026 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.986, allocations: 0 / 1.026 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.9961, allocations: 6.824 MB / 1.033 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.9976, allocations: 0.7627 MB / 1.033 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.9979, allocations: 68 kB / 1.033 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1, allocations: 220.5 kB / 1.034 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/1, allocations: 226.8 kB / 1.034 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.001, allocations: 112 kB / 1.034 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00116/1.002, allocations: 0.8645 MB / 1.035 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.002, allocations: 0 / 1.035 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002447/1.004, allocations: 1.084 MB / 1.036 GB, free: 6.465 MB / 0.7481 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.0006042/1.005, allocations: 339.8 kB / 1.036 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005905/1.011, allocations: 4.039 MB / 1.04 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.011, allocations: 4 kB / 1.04 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.2642/1.275, allocations: 2.551 MB / 1.043 GB, free: 275.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005902/1.281, allocations: 1.026 MB / 1.044 GB, free: 275.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.292, allocations: 8.098 MB / 1.052 GB, free: 272 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.293, allocations: 1.946 MB / 1.053 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003869/1.297, allocations: 1.224 MB / 1.055 GB, free: 271 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/1.298, allocations: 237.2 kB / 1.055 GB, free: 271 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/1.298, allocations: 0 / 1.055 GB, free: 271 MB / 0.7481 GB Notification: Performance of Templates: time 0.06413/1.362, allocations: 45.13 MB / 1.099 GB, free: 245.6 MB / 0.7481 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)