Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.3 MB / 302.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 178.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 97.77 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007283/0.0007286, allocations: 19.06 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2308, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.8889/1.12, allocations: 141.6 MB / 1.117 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01691/1.137, allocations: 7.533 MB / 1.124 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/1.14, allocations: 38.31 kB / 1.124 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003414/1.143, allocations: 0.593 MB / 1.125 GB, free: 172 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008407/1.152, allocations: 1.454 MB / 1.126 GB, free: 76 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006395/1.158, allocations: 1.246 MB / 1.127 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004611/1.163, allocations: 1.627 MB / 1.129 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.164, allocations: 0.7299 MB / 1.129 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/1.167, allocations: 0.7591 MB / 1.13 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.169, allocations: 0.6776 MB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/1.17, allocations: 43.88 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/1.174, allocations: 0.8687 MB / 1.132 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005804/1.175, allocations: 208 kB / 1.132 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006658/1.175, allocations: 243.1 kB / 1.132 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/1.178, allocations: 1.215 MB / 1.133 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.179, allocations: 3.062 kB / 1.133 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.179, allocations: 0 / 1.133 GB, free: 15.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.193e-05/1.179, allocations: 0 / 1.133 GB, free: 15.09 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004502/1.183, allocations: 1.377 MB / 1.135 GB, free: 14.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.183, allocations: 8.531 kB / 1.135 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004519/1.184, allocations: 131.3 kB / 1.135 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/1.184, allocations: 135 kB / 1.135 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/1.187, allocations: 0.7795 MB / 1.136 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.702e-05/1.187, allocations: 59.62 kB / 1.136 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/1.187, allocations: 81.8 kB / 1.136 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/1.19, allocations: 0.8596 MB / 1.137 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/1.19, allocations: 6 kB / 1.137 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.19, allocations: 42.94 kB / 1.137 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/1.19, allocations: 18.94 kB / 1.137 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.192, allocations: 0.6373 MB / 1.137 GB, free: 13.1 MB / 0.698 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.009087/1.202, allocations: 3.977 MB / 1.141 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/1.204, allocations: 0.5894 MB / 1.142 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/1.205, allocations: 1.235 MB / 1.143 GB, free: 8.809 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/1.206, allocations: 330.1 kB / 1.143 GB, free: 8.691 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.81e-06/1.206, allocations: 0 / 1.143 GB, free: 8.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.004335/1.211, allocations: 1.153 MB / 1.145 GB, free: 8.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/1.211, allocations: 83.8 kB / 1.145 GB, free: 8.152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.213, allocations: 0.8772 MB / 1.145 GB, free: 7.875 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/1.213, allocations: 36.3 kB / 1.146 GB, free: 7.844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/1.213, allocations: 474.2 kB / 1.146 GB, free: 7.629 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/1.214, allocations: 210.2 kB / 1.146 GB, free: 7.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/1.214, allocations: 11.88 kB / 1.146 GB, free: 7.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.214, allocations: 330.6 kB / 1.146 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/1.215, allocations: 209.2 kB / 1.147 GB, free: 7.137 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/1.216, allocations: 318.4 kB / 1.147 GB, free: 7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/1.216, allocations: 240.5 kB / 1.147 GB, free: 6.973 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.216, allocations: 1.656 kB / 1.147 GB, free: 6.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002415/1.219, allocations: 0.7163 MB / 1.148 GB, free: 6.793 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004008/1.219, allocations: 0.8766 MB / 1.149 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.219, allocations: 2.125 kB / 1.149 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/1.22, allocations: 111.6 kB / 1.149 GB, free: 5.836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.221, allocations: 121.7 kB / 1.149 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/1.222, allocations: 0.6582 MB / 1.15 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.224, allocations: 96.89 kB / 1.15 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/1.224, allocations: 28.61 kB / 1.15 GB, free: 5.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.224, allocations: 5.438 kB / 1.15 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001985/1.226, allocations: 0.5768 MB / 1.15 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.226, allocations: 1.688 kB / 1.15 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/1.227, allocations: 101.3 kB / 1.15 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/1.228, allocations: 111.5 kB / 1.151 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008665/1.229, allocations: 0.6659 MB / 1.151 GB, free: 4.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.23, allocations: 86.22 kB / 1.151 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.23, allocations: 29.64 kB / 1.151 GB, free: 4.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007619/1.231, allocations: 322 kB / 1.152 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/1.231, allocations: 106.1 kB / 1.152 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/1.234, allocations: 0.9522 MB / 1.153 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/1.234, allocations: 16.22 kB / 1.153 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.234, allocations: 0 / 1.153 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/1.237, allocations: 0.8532 MB / 1.153 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/1.242, allocations: 1.863 MB / 1.155 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.242, allocations: 4.938 kB / 1.155 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/1.243, allocations: 109.8 kB / 1.155 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/1.244, allocations: 155.1 kB / 1.156 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.244, allocations: 19.58 kB / 1.156 GB, free: 2.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/1.246, allocations: 1.256 MB / 1.157 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.246, allocations: 1.344 kB / 1.157 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/1.25, allocations: 1.31 MB / 1.158 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009545/1.251, allocations: 281 kB / 1.158 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/1.251, allocations: 16.64 kB / 1.158 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.252, allocations: 56.2 kB / 1.158 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/1.253, allocations: 49.3 kB / 1.158 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.253, allocations: 26.83 kB / 1.158 GB, free: 1.062 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001393/1.254, allocations: 0.6115 MB / 1.159 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.112e-06/1.254, allocations: 4 kB / 1.159 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002741/1.257, allocations: 0.5603 MB / 1.16 GB, free: 0.7617 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006585/1.264, allocations: 2.593 MB / 1.162 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003194/1.267, allocations: 0.9334 MB / 1.163 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.267, allocations: 1.859 kB / 1.163 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/1.268, allocations: 384.5 kB / 1.163 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/1.272, allocations: 408.2 kB / 1.164 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.289, allocations: 7.387 MB / 1.171 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/1.29, allocations: 1.094 MB / 1.172 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001565/1.292, allocations: 213.8 kB / 1.172 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/1.293, allocations: 406.5 kB / 1.173 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of SimCode: time 1.312e-06/1.293, allocations: 4 kB / 1.173 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0919/1.385, allocations: 29.06 MB / 1.201 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000443/1.385, allocations: 262.4 kB / 1.201 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/5.12, allocations: 0 / 1.201 GB, free: 2.195 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)