Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009256/0.0009253, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009488/0.0009489, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6119/0.6119, allocations: 95.62 MB / 366 MB, free: 10.36 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.000639, allocations: 12.22 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4659, allocations: 70.33 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6027/1.069, allocations: 149.3 MB / 0.6509 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/1.083, allocations: 6.288 MB / 0.657 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/1.085, allocations: 39.88 kB / 0.657 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/1.087, allocations: 348.4 kB / 0.6574 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006048/1.094, allocations: 1.115 MB / 0.6585 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/1.097, allocations: 0.6106 MB / 0.659 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005112/1.102, allocations: 2.68 MB / 0.6617 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/1.104, allocations: 0.5466 MB / 0.6622 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/1.106, allocations: 0.7122 MB / 0.6629 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/1.108, allocations: 0.8005 MB / 0.6637 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/1.109, allocations: 37.25 kB / 0.6637 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/1.111, allocations: 0.5716 MB / 0.6643 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003088/1.112, allocations: 161.4 kB / 0.6644 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007144/1.112, allocations: 191.1 kB / 0.6646 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/1.114, allocations: 0.9436 MB / 0.6655 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.114, allocations: 0 / 0.6655 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.576e-06/1.114, allocations: 0 / 0.6655 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.114, allocations: 2.688 kB / 0.6655 GB, free: 17.25 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002534/1.117, allocations: 1.05 MB / 0.6666 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.117, allocations: 16.55 kB / 0.6666 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/1.117, allocations: 101.9 kB / 0.6667 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/1.119, allocations: 0.6796 MB / 0.6673 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/1.119, allocations: 43.22 kB / 0.6674 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.119, allocations: 59.06 kB / 0.6674 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/1.121, allocations: 0.6509 MB / 0.6681 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/1.121, allocations: 7.516 kB / 0.6681 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/1.121, allocations: 22.81 kB / 0.6681 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/1.121, allocations: 14.44 kB / 0.6681 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.122, allocations: 0.5085 MB / 0.6686 GB, free: 16.14 MB / 0.4981 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.004996/1.127, allocations: 2.784 MB / 0.6713 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/1.129, allocations: 442 kB / 0.6717 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/1.129, allocations: 308.8 kB / 0.672 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.131, allocations: 1.24 MB / 0.6732 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.131, allocations: 36.81 kB / 0.6733 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=51): time 3.106e-06/1.131, allocations: 2.906 kB / 0.6733 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.008229/1.139, allocations: 2.224 MB / 0.6755 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/1.139, allocations: 61.88 kB / 0.6755 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/1.14, allocations: 0.561 MB / 0.6761 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/1.141, allocations: 39.14 kB / 0.6761 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/1.141, allocations: 333 kB / 0.6764 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/1.141, allocations: 219.2 kB / 0.6766 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/1.141, allocations: 9.344 kB / 0.6766 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.141, allocations: 384.8 kB / 0.677 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/1.142, allocations: 199.4 kB / 0.6772 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/1.143, allocations: 304.2 kB / 0.6775 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/1.143, allocations: 252 kB / 0.6777 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.143, allocations: 0 / 0.6777 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001832/1.145, allocations: 0.8434 MB / 0.6785 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.145, allocations: 2.938 kB / 0.6786 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.145, allocations: 3.531 kB / 0.6786 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/1.145, allocations: 51.3 kB / 0.6786 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/1.146, allocations: 149.1 kB / 0.6787 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/1.149, allocations: 2.61 MB / 0.6813 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009786/1.15, allocations: 68.28 kB / 0.6814 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/1.15, allocations: 20.97 kB / 0.6814 GB, free: 8.602 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005428/1.15, allocations: 220.2 kB / 0.6816 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.151, allocations: 73.58 kB / 0.6817 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/1.153, allocations: 0.9066 MB / 0.6825 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.153, allocations: 6.5 kB / 0.6826 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.153, allocations: 3.047 kB / 0.6826 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.153, allocations: 5.328 kB / 0.6826 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/1.156, allocations: 1.7 MB / 0.6842 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.156, allocations: 0 / 0.6842 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/1.157, allocations: 131.7 kB / 0.6843 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/1.157, allocations: 50.45 kB / 0.6844 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/1.157, allocations: 14.38 kB / 0.6844 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/1.16, allocations: 2.636 MB / 0.687 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.16, allocations: 3.953 kB / 0.687 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/1.163, allocations: 1.214 MB / 0.6882 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/1.163, allocations: 217.7 kB / 0.6884 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.163, allocations: 17.05 kB / 0.6884 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/1.164, allocations: 55.39 kB / 0.6884 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.164, allocations: 46.81 kB / 0.6885 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/1.164, allocations: 22.23 kB / 0.6885 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007832/1.165, allocations: 398.3 kB / 0.6889 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.763e-06/1.165, allocations: 0 / 0.6889 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00139/1.166, allocations: 275.6 kB / 0.6892 GB, free: 4.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (volA.dynBal.medium.p,volA.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007639/1.167, allocations: 304.6 kB / 0.6894 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001947/1.169, allocations: 0.7811 MB / 0.6902 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.169, allocations: 0 / 0.6902 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.17, allocations: 0.5397 MB / 0.6907 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.173, allocations: 390.1 kB / 0.6911 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/1.178, allocations: 2.126 MB / 0.6932 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/1.179, allocations: 0.9641 MB / 0.6941 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001272/1.18, allocations: 155.4 kB / 0.6943 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/1.18, allocations: 77.72 kB / 0.6943 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.324e-06/1.18, allocations: 0 / 0.6943 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.03594/1.216, allocations: 15.45 MB / 0.7094 GB, free: 6.395 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: