Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 104.8 kB / 16.41 MB, free: 6.457 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.001397/0.001397, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.528/1.528, 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.00324/0.00324, allocations: 287.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9778/0.9778, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 99.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6376, allocations: 86.98 MB / 0.767 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.9328/1.571, allocations: 201.9 MB / 0.9642 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01488/1.585, allocations: 7.399 MB / 0.9715 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/1.589, allocations: 35.47 kB / 0.9715 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/1.591, allocations: 0.6954 MB / 0.9722 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00894/1.6, allocations: 2.41 MB / 0.9745 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/1.605, allocations: 1.235 MB / 0.9757 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006192/1.611, allocations: 2.909 MB / 0.9786 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/1.613, allocations: 0.9524 MB / 0.9795 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/1.616, allocations: 1.015 MB / 0.9805 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/1.62, allocations: 0.9635 MB / 0.9814 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006081/1.62, allocations: 110.3 kB / 0.9815 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006523/1.627, allocations: 2.126 MB / 0.9836 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/1.628, allocations: 452.9 kB / 0.9841 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.631, allocations: 0.6666 MB / 0.9847 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007655/1.638, allocations: 2.4 MB / 0.987 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.638, allocations: 0 / 0.987 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/1.638, allocations: 3.469 kB / 0.9871 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.227e-05/1.638, allocations: 0 / 0.9871 GB, free: 1.418 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005994/1.644, allocations: 1.623 MB / 0.9886 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.644, allocations: 9.312 kB / 0.9886 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/1.647, allocations: 378.6 kB / 0.989 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/1.65, allocations: 0.8427 MB / 0.9898 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/1.65, allocations: 69.72 kB / 0.9899 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/1.65, allocations: 91.5 kB / 0.99 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.653, allocations: 1.045 MB / 0.991 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.63e-05/1.653, allocations: 3.875 kB / 0.991 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.653, allocations: 33.12 kB / 0.991 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/1.653, allocations: 50.48 kB / 0.9911 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.655, allocations: 0.8819 MB / 0.9919 GB, free: 16.06 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.006697/1.661, allocations: 4.295 MB / 0.9961 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/1.663, allocations: 0.6953 MB / 0.9968 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/1.663, allocations: 461.1 kB / 0.9973 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/1.664, allocations: 0.674 MB / 0.9979 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.664, allocations: 41.16 kB / 0.998 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.457e-06/1.664, allocations: 0 / 0.998 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002191/1.666, allocations: 0.9936 MB / 0.9989 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.667, allocations: 61.25 kB / 0.999 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.668, allocations: 0.6321 MB / 0.9996 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.292e-05/1.668, allocations: 40.5 kB / 0.9996 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/1.668, allocations: 435.5 kB / 1 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/1.668, allocations: 247 kB / 1 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.669, allocations: 125.4 kB / 1 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.669, allocations: 388.8 kB / 1.001 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/1.669, allocations: 275 kB / 1.001 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/1.67, allocations: 354.6 kB / 1.001 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/1.671, allocations: 0.6666 MB / 1.002 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.671, allocations: 0.7812 kB / 1.002 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001477/1.672, allocations: 0.7956 MB / 1.003 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.672, allocations: 4.375 kB / 1.003 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.672, allocations: 5.062 kB / 1.003 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.673, allocations: 3.406 kB / 1.003 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/1.673, allocations: 148.5 kB / 1.003 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.673, allocations: 4.5 kB / 1.003 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/1.674, allocations: 54.69 kB / 1.003 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/1.674, allocations: 20.53 kB / 1.003 GB, free: 11.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0005321/1.675, allocations: 291.2 kB / 1.003 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/1.675, allocations: 87.5 kB / 1.003 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/1.677, allocations: 0.7999 MB / 1.004 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.677, allocations: 7.719 kB / 1.004 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.677, allocations: 0 / 1.004 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/1.678, allocations: 0.8115 MB / 1.005 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.681, allocations: 1.859 MB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.681, allocations: 0.8438 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007989/1.682, allocations: 163.2 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.682, allocations: 6.109 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/1.682, allocations: 20.91 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/1.682, allocations: 2.094 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.682, allocations: 4.781 kB / 1.007 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.684, allocations: 1.195 MB / 1.008 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/1.685, allocations: 252.9 kB / 1.008 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.685, allocations: 16.72 kB / 1.008 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/1.685, allocations: 23.44 kB / 1.008 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.686, allocations: 43.39 kB / 1.008 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/1.686, allocations: 27.77 kB / 1.009 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007139/1.686, allocations: 454.5 kB / 1.009 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.21e-07/1.686, allocations: 0.7188 kB / 1.009 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001203/1.688, allocations: 333.9 kB / 1.009 GB, free: 10.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.0005101/1.688, allocations: 195.9 kB / 1.009 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001296/1.689, allocations: 0.68 MB / 1.01 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.69, allocations: 0 / 1.01 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/1.69, allocations: 377 kB / 1.01 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.693, allocations: 0.5425 MB / 1.011 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/1.697, allocations: 2.21 MB / 1.013 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000968/1.698, allocations: 1.086 MB / 1.014 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.698, allocations: 80.45 kB / 1.014 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of SimCode: time 2.224e-06/1.699, allocations: 0 / 1.014 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.03336/1.732, allocations: 15.25 MB / 1.029 GB, free: 4.473 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)