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.001195/0.001195, allocations: 108.6 kB / 15.99 MB, free: 6.359 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.001295/0.001296, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.258/1.258, 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.002203/0.002203, 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 0.9147/0.9147, allocations: 169.2 MB / 0.4985 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 94.23 kB / 0.5953 GB, free: 4.484 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1659, allocations: 86.97 MB / 0.6803 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.4955/0.6615, allocations: 215.7 MB / 0.8909 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.6868, allocations: 20.33 MB / 0.9108 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.6899, allocations: 51.69 kB / 0.9108 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.6934, allocations: 1.116 MB / 0.9119 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.7036, allocations: 3.836 MB / 0.9157 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.7074, allocations: 1.402 MB / 0.917 GB, free: 10.56 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007733/0.7151, allocations: 6.967 MB / 0.9238 GB, free: 3.57 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/0.7186, allocations: 2.311 MB / 0.9261 GB, free: 1.215 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.7231, allocations: 2.395 MB / 0.9284 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/0.7284, allocations: 2.618 MB / 0.931 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.7296, allocations: 344 kB / 0.9313 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007535/0.7372, allocations: 3.628 MB / 0.9348 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.7394, allocations: 1.454 MB / 0.9363 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.7434, allocations: 1.867 MB / 0.9381 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.7498, allocations: 4.311 MB / 0.9423 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7498, allocations: 0 / 0.9423 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7498, allocations: 0 / 0.9423 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001611/0.75, allocations: 0 / 0.9423 GB, free: 0.5781 MB / 0.6856 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.01107/0.7611, allocations: 3.949 MB / 0.9462 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.7611, allocations: 11.97 kB / 0.9462 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.7667, allocations: 0.8283 MB / 0.947 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.7709, allocations: 1.883 MB / 0.9488 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.7711, allocations: 205.4 kB / 0.949 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/0.772, allocations: 272 kB / 0.9493 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.779, allocations: 3.275 MB / 0.9525 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.763e-05/0.7792, allocations: 3.906 kB / 0.9525 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004643/0.7796, allocations: 108 kB / 0.9526 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.7798, allocations: 129.4 kB / 0.9527 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007791/0.7876, allocations: 4.623 MB / 0.9572 GB, free: 1.121 MB / 0.7012 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.01822/0.8058, allocations: 10.87 MB / 0.9678 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/0.8133, allocations: 4.853 MB / 0.9726 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004376/0.8177, allocations: 2.528 MB / 0.975 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.8191, allocations: 0.8602 MB / 0.9759 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.8192, allocations: 73.7 kB / 0.976 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=399): time 5.992e-06/0.8192, allocations: 8 kB / 0.976 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=399): time 0.01222/0.8315, allocations: 6.026 MB / 0.9818 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.8316, allocations: 98.47 kB / 0.9819 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.8336, allocations: 1.224 MB / 0.9831 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.8341, allocations: 93.7 kB / 0.9832 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006588/0.8348, allocations: 0.8134 MB / 0.984 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001566/0.8364, allocations: 1.332 MB / 0.9853 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.8376, allocations: 0.5469 MB / 0.9859 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.8377, allocations: 301.1 kB / 0.9861 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002898/0.8406, allocations: 1.611 MB / 0.9877 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2903/1.131, allocations: 1.899 MB / 0.9896 GB, free: 242.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006137/1.137, allocations: 3.839 MB / 0.9933 GB, free: 241.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/1.137, allocations: 2.938 kB / 0.9933 GB, free: 241.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007068/1.144, allocations: 4.187 MB / 0.9974 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.144, allocations: 9.75 kB / 0.9974 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.144, allocations: 4.312 kB / 0.9974 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/1.144, allocations: 17.94 kB / 0.9974 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/1.147, allocations: 0.6855 MB / 0.9981 GB, free: 240.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.084e-05/1.147, allocations: 19.59 kB / 0.9981 GB, free: 240.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.15, allocations: 403.1 kB / 0.9985 GB, free: 240.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/1.151, allocations: 113.9 kB / 0.9986 GB, free: 240.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.00127/1.152, allocations: 0.7269 MB / 0.9993 GB, free: 239.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006125/1.153, allocations: 241.3 kB / 0.9996 GB, free: 239.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006408/1.159, allocations: 4.636 MB / 1.004 GB, free: 237.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/1.159, allocations: 38 kB / 1.004 GB, free: 237.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.159, allocations: 0 / 1.004 GB, free: 237.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004889/1.164, allocations: 3.962 MB / 1.008 GB, free: 236.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.176, allocations: 8.279 MB / 1.016 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.176, allocations: 0 / 1.016 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.179, allocations: 0.6641 MB / 1.017 GB, free: 233.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/1.179, allocations: 141 kB / 1.017 GB, free: 233.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/1.179, allocations: 82.78 kB / 1.017 GB, free: 233 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/1.182, allocations: 5.045 MB / 1.022 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.182, allocations: 0 / 1.022 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.193, allocations: 6.811 MB / 1.029 GB, free: 225.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.195, allocations: 0.7663 MB / 1.029 GB, free: 225 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000662/1.195, allocations: 68.88 kB / 1.029 GB, free: 224.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.198, allocations: 214.6 kB / 1.03 GB, free: 224.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005319/1.198, allocations: 230.4 kB / 1.03 GB, free: 224.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/1.199, allocations: 114.3 kB / 1.03 GB, free: 224.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001438/1.2, allocations: 0.8609 MB / 1.031 GB, free: 224.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.2, allocations: 0 / 1.031 GB, free: 224.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003237/1.203, allocations: 1.091 MB / 1.032 GB, free: 224.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.0008585/1.204, allocations: 331.7 kB / 1.032 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02412/1.228, allocations: 11.49 MB / 1.043 GB, free: 222.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.228, allocations: 0 / 1.043 GB, free: 222.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/1.233, allocations: 2.553 MB / 1.046 GB, free: 221.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/1.239, allocations: 1.079 MB / 1.047 GB, free: 221.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.25, allocations: 7.991 MB / 1.055 GB, free: 217 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/1.252, allocations: 1.945 MB / 1.057 GB, free: 215.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.254, allocations: 277.1 kB / 1.057 GB, free: 215.7 MB / 0.7325 GB Notification: Performance of SimCode: time 9.71e-07/1.254, allocations: 0 / 1.057 GB, free: 215.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06018/1.315, allocations: 58.06 MB / 1.114 GB, free: 162.6 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)