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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008344/0.0008344, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005378/0.005378, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.215/1.215, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001584/0.001585, allocations: 271 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 33.73/33.73, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004569, allocations: 16.22 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.848/1.074, allocations: 197.1 MB / 0.8777 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01334/1.088, allocations: 7.412 MB / 0.8849 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/1.09, allocations: 31.25 kB / 0.8849 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/1.092, allocations: 0.6015 MB / 0.8855 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007683/1.099, allocations: 2.267 MB / 0.8877 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/1.103, allocations: 1.123 MB / 0.8888 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005772/1.109, allocations: 4.164 MB / 0.8929 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/1.11, allocations: 0.774 MB / 0.8937 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/1.112, allocations: 0.8558 MB / 0.8945 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/1.114, allocations: 0.9653 MB / 0.8954 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/1.114, allocations: 52 kB / 0.8955 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00547/1.12, allocations: 2.478 MB / 0.8979 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/1.12, allocations: 378.8 kB / 0.8983 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009809/1.121, allocations: 0.612 MB / 0.8989 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/1.126, allocations: 2.469 MB / 0.9013 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.126, allocations: 0 / 0.9013 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/1.126, allocations: 0 / 0.9013 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.126, allocations: 0 / 0.9013 GB, free: 2.547 MB / 0.6075 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.003015/1.129, allocations: 1.415 MB / 0.9027 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.129, allocations: 8.031 kB / 0.9027 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/1.13, allocations: 135.3 kB / 0.9028 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/1.132, allocations: 370.3 kB / 0.9032 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.133, allocations: 0.8201 MB / 0.904 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/1.133, allocations: 65.94 kB / 0.904 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.133, allocations: 87.98 kB / 0.9041 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.135, allocations: 1.046 MB / 0.9051 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.135, allocations: 0 / 0.9051 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/1.135, allocations: 35.98 kB / 0.9052 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-05/1.135, allocations: 49.92 kB / 0.9052 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/1.137, allocations: 0.8822 MB / 0.9061 GB, free: 13.5 MB / 0.6231 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.004986/1.142, allocations: 4.295 MB / 0.9103 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.143, allocations: 0.699 MB / 0.9109 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/1.144, allocations: 455.6 kB / 0.9114 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/1.144, allocations: 0.6771 MB / 0.912 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.144, allocations: 43.11 kB / 0.9121 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/1.144, allocations: 0 / 0.9121 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001849/1.146, allocations: 0.9978 MB / 0.9131 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.146, allocations: 63.95 kB / 0.9131 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/1.147, allocations: 0.6333 MB / 0.9137 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/1.147, allocations: 37.7 kB / 0.9138 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/1.148, allocations: 432.1 kB / 0.9142 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/1.148, allocations: 244.3 kB / 0.9144 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.819e-05/1.148, allocations: 65.69 kB / 0.9145 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.148, allocations: 390.7 kB / 0.9148 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/1.149, allocations: 289.1 kB / 0.9151 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/1.149, allocations: 353.1 kB / 0.9155 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/1.15, allocations: 0.6665 MB / 0.9161 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.15, allocations: 0 / 0.9161 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00125/1.151, allocations: 0.797 MB / 0.9169 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.151, allocations: 4 kB / 0.9169 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.151, allocations: 4 kB / 0.9169 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.151, allocations: 4 kB / 0.9169 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/1.152, allocations: 143.8 kB / 0.917 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.152, allocations: 12.11 kB / 0.917 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/1.153, allocations: 119.3 kB / 0.9172 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/1.153, allocations: 20 kB / 0.9172 GB, free: 1.488 MB / 0.6231 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.0004749/1.153, allocations: 294.2 kB / 0.9175 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.154, allocations: 82.97 kB / 0.9175 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.155, allocations: 0.8004 MB / 0.9183 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.155, allocations: 8 kB / 0.9183 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.155, allocations: 0 / 0.9183 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/1.156, allocations: 0.823 MB / 0.9191 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/1.159, allocations: 1.856 MB / 0.9209 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.159, allocations: 3.938 kB / 0.921 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/1.16, allocations: 175.7 kB / 0.9211 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.16, allocations: 0 / 0.9211 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/1.16, allocations: 19.94 kB / 0.9211 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.16, allocations: 4 kB / 0.9211 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.16, allocations: 0 / 0.9211 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/1.161, allocations: 1.213 MB / 0.9223 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/1.162, allocations: 247.8 kB / 0.9226 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.162, allocations: 16 kB / 0.9226 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/1.163, allocations: 67.94 kB / 0.9226 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.163, allocations: 40.5 kB / 0.9227 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/1.163, allocations: 27.98 kB / 0.9227 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005279/1.163, allocations: 451 kB / 0.9231 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/1.163, allocations: 0 / 0.9231 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008622/1.164, allocations: 343.1 kB / 0.9235 GB, free: 10.89 MB / 0.6387 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.002147/1.166, allocations: 1.838 MB / 0.9253 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.167, allocations: 0.6796 MB / 0.9259 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.167, allocations: 0 / 0.9259 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/1.168, allocations: 375 kB / 0.9263 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.17, allocations: 0.518 MB / 0.9268 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.181, allocations: 7.742 MB / 0.9343 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.181, allocations: 1.089 MB / 0.9354 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001013/1.182, allocations: 227.5 kB / 0.9356 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/1.183, allocations: 355.3 kB / 0.936 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of SimCode: time 3.837e-06/1.183, allocations: 0 / 0.936 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3159/1.499, allocations: 23.95 MB / 0.9594 GB, free: 6.332 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.499, allocations: 217.8 kB / 0.9596 GB, free: 6.074 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.787, allocations: 2.672 kB / 0.9596 GB, free: 6.074 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)