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.007376/0.007376, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.00151/0.00151, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002353/0.002353, allocations: 290.9 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 95.86 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2419, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8695/1.111, allocations: 202 MB / 0.9636 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01396/1.126, allocations: 7.389 MB / 0.9708 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/1.128, allocations: 43.75 kB / 0.9709 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/1.131, allocations: 0.6953 MB / 0.9715 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007678/1.138, allocations: 2.407 MB / 0.9739 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/1.142, allocations: 1.24 MB / 0.9751 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004969/1.147, allocations: 2.903 MB / 0.9779 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.149, allocations: 0.9469 MB / 0.9789 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/1.151, allocations: 1.043 MB / 0.9799 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/1.153, allocations: 0.9675 MB / 0.9808 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/1.153, allocations: 108 kB / 0.9809 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/1.158, allocations: 2.128 MB / 0.983 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005525/1.159, allocations: 450.8 kB / 0.9834 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009645/1.16, allocations: 0.6728 MB / 0.9841 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004916/1.165, allocations: 2.396 MB / 0.9864 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.165, allocations: 3.938 kB / 0.9864 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/1.165, allocations: 4 kB / 0.9864 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.165, allocations: 0 / 0.9864 GB, free: 1.281 MB / 0.7325 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.003411/1.168, allocations: 1.625 MB / 0.988 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.168, allocations: 12.03 kB / 0.988 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/1.171, allocations: 374.2 kB / 0.9884 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/1.172, allocations: 0.8474 MB / 0.9892 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/1.172, allocations: 61.94 kB / 0.9893 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/1.173, allocations: 87.91 kB / 0.9894 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.174, allocations: 1.046 MB / 0.9904 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/1.174, allocations: 7.938 kB / 0.9904 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/1.175, allocations: 36 kB / 0.9904 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/1.175, allocations: 41.98 kB / 0.9905 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/1.176, allocations: 0.8783 MB / 0.9913 GB, free: 12.14 MB / 0.7481 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.004893/1.181, allocations: 4.292 MB / 0.9955 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.182, allocations: 0.697 MB / 0.9962 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/1.183, allocations: 467.5 kB / 0.9966 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/1.183, allocations: 0.6771 MB / 0.9973 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.184, allocations: 51 kB / 0.9973 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/1.184, allocations: 0 / 0.9973 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001866/1.185, allocations: 0.9901 MB / 0.9983 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.185, allocations: 55.97 kB / 0.9984 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/1.186, allocations: 0.6373 MB / 0.999 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/1.186, allocations: 41.7 kB / 0.999 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/1.187, allocations: 428.1 kB / 0.9994 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/1.187, allocations: 252.2 kB / 0.9997 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.187, allocations: 118.3 kB / 0.9998 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.188, allocations: 390.7 kB / 1 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/1.188, allocations: 273.2 kB / 1 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/1.188, allocations: 365 kB / 1.001 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/1.189, allocations: 0.6665 MB / 1.001 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.189, allocations: 0 / 1.001 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00126/1.191, allocations: 0.7892 MB / 1.002 GB, free: 392 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.191, allocations: 12 kB / 1.002 GB, free: 380 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.191, allocations: 3.984 kB / 1.002 GB, free: 376 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.191, allocations: 5.125 kB / 1.002 GB, free: 372 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/1.191, allocations: 143.8 kB / 1.002 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.191, allocations: 4 kB / 1.002 GB, free: 224 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/1.192, allocations: 55.45 kB / 1.002 GB, free: 168 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/1.192, allocations: 20 kB / 1.002 GB, free: 148 kB / 0.7481 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.0004863/1.193, allocations: 289.6 kB / 1.003 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.193, allocations: 86.95 kB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/1.194, allocations: 0.7931 MB / 1.004 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/1.194, allocations: 8 kB / 1.004 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.194, allocations: 4 kB / 1.004 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/1.196, allocations: 0.8191 MB / 1.004 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/1.199, allocations: 1.855 MB / 1.006 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.199, allocations: 0 / 1.006 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/1.2, allocations: 171.7 kB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/1.2, allocations: 4 kB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/1.2, allocations: 16 kB / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/1.2, allocations: 7.984 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.2, allocations: 0 / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.202, allocations: 1.195 MB / 1.008 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/1.202, allocations: 243.9 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.202, allocations: 16 kB / 1.008 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/1.203, allocations: 25.95 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.203, allocations: 49.38 kB / 1.008 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/1.203, allocations: 23.98 kB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000709/1.204, allocations: 455 kB / 1.008 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/1.204, allocations: 0 / 1.008 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001228/1.205, allocations: 331.3 kB / 1.009 GB, free: 9.629 MB / 0.7637 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.0005387/1.206, allocations: 206.4 kB / 1.009 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001369/1.207, allocations: 0.6718 MB / 1.009 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.207, allocations: 4 kB / 1.009 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/1.208, allocations: 371 kB / 1.01 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.21, allocations: 0.5485 MB / 1.01 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/1.215, allocations: 2.14 MB / 1.012 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/1.216, allocations: 1.089 MB / 1.014 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001193/1.217, allocations: 227.2 kB / 1.014 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.217, allocations: 87.31 kB / 1.014 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of SimCode: time 2.936e-06/1.217, allocations: 0 / 1.014 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of Templates: time 0.03839/1.256, allocations: 18.42 MB / 1.032 GB, free: 2.125 MB / 0.7794 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)