Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.7 MB / 302.2 MB, free: 2.121 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.001197/0.001198, allocations: 182.6 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 91 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.635e-05/6.647e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4296, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.099/2.528, allocations: 449.6 MB / 1.419 GB, free: 260.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/2.529, allocations: 88.62 kB / 1.419 GB, free: 260.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6548/3.183, allocations: 329.2 MB / 1.741 GB, free: 1.945 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.797e-06/3.183, allocations: 4 kB / 1.741 GB, free: 1.941 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001179/3.184, allocations: 35.92 kB / 1.741 GB, free: 1.906 MB / 0.948 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.003003/3.187, allocations: 1.327 MB / 1.742 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/3.187, allocations: 8.031 kB / 1.742 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/3.187, allocations: 126.7 kB / 1.742 GB, free: 404 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/3.187, allocations: 138.4 kB / 1.742 GB, free: 264 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7079/3.895, allocations: 0.9616 MB / 1.743 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/3.895, allocations: 62.16 kB / 1.743 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/3.895, allocations: 82.19 kB / 1.743 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/3.897, allocations: 0.8227 MB / 1.744 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/3.897, allocations: 5.25 kB / 1.744 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/3.897, allocations: 34.69 kB / 1.744 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/3.897, allocations: 19.69 kB / 1.744 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/3.898, allocations: 0.5799 MB / 1.745 GB, free: 173.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005214/3.903, allocations: 3.79 MB / 1.748 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/3.904, allocations: 0.5228 MB / 1.749 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/3.905, allocations: 279.7 kB / 1.749 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008851/3.906, allocations: 1.24 MB / 1.75 GB, free: 170.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005791/3.906, allocations: 312.9 kB / 1.751 GB, free: 170.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 4.468e-06/3.906, allocations: 0 / 1.751 GB, free: 170.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.001458/3.908, allocations: 0.633 MB / 1.751 GB, free: 170.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/3.908, allocations: 87.02 kB / 1.751 GB, free: 170.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/3.909, allocations: 0.773 MB / 1.752 GB, free: 169.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/3.909, allocations: 36.17 kB / 1.752 GB, free: 169.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/3.91, allocations: 469.1 kB / 1.753 GB, free: 169.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/3.91, allocations: 214.2 kB / 1.753 GB, free: 169.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/3.91, allocations: 13.84 kB / 1.753 GB, free: 169.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/3.91, allocations: 328.6 kB / 1.753 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/3.911, allocations: 187.2 kB / 1.753 GB, free: 169.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/3.911, allocations: 329 kB / 1.754 GB, free: 169.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/3.912, allocations: 230.5 kB / 1.754 GB, free: 169.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/3.912, allocations: 3.953 kB / 1.754 GB, free: 169.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001349/3.913, allocations: 0.6662 MB / 1.754 GB, free: 169.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/3.913, allocations: 0.8831 MB / 1.755 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/3.913, allocations: 2.781 kB / 1.755 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/3.914, allocations: 107.6 kB / 1.755 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/3.914, allocations: 119.8 kB / 1.756 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000603/3.915, allocations: 0.6657 MB / 1.756 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/3.916, allocations: 103.8 kB / 1.756 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/3.916, allocations: 29.81 kB / 1.756 GB, free: 167.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/3.916, allocations: 3.344 kB / 1.756 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001203/3.917, allocations: 0.5586 MB / 1.757 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/3.917, allocations: 7.797 kB / 1.757 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000445/3.918, allocations: 109 kB / 1.757 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/3.918, allocations: 112 kB / 1.757 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/3.919, allocations: 0.6563 MB / 1.758 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/3.92, allocations: 95.64 kB / 1.758 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/3.92, allocations: 28.95 kB / 1.758 GB, free: 167.1 MB / 0.948 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 () * 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.0002338/3.92, allocations: 144.3 kB / 1.758 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/3.92, allocations: 102.9 kB / 1.758 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/3.922, allocations: 0.9169 MB / 1.759 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/3.922, allocations: 8.875 kB / 1.759 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/3.922, allocations: 1.594 kB / 1.759 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/3.923, allocations: 0.826 MB / 1.76 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/3.927, allocations: 1.861 MB / 1.762 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/3.927, allocations: 1.594 kB / 1.762 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/3.928, allocations: 107.1 kB / 1.762 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007122/3.928, allocations: 161.8 kB / 1.762 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/3.929, allocations: 22.06 kB / 1.762 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000868/3.929, allocations: 1.244 MB / 1.763 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/3.929, allocations: 1.188 kB / 1.763 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/3.932, allocations: 1.256 MB / 1.764 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/3.932, allocations: 279.5 kB / 1.765 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/3.932, allocations: 12.89 kB / 1.765 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/3.933, allocations: 68.53 kB / 1.765 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/3.933, allocations: 42.66 kB / 1.765 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/3.933, allocations: 29.25 kB / 1.765 GB, free: 164.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001145/3.935, allocations: 0.6001 MB / 1.765 GB, free: 164.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/3.935, allocations: 0 / 1.765 GB, free: 164.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002284/3.937, allocations: 0.6238 MB / 1.766 GB, free: 164.5 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * 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.004254/3.941, allocations: 2.737 MB / 1.769 GB, free: 163.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001834/3.943, allocations: 0.9254 MB / 1.77 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/3.943, allocations: 0 / 1.77 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/3.944, allocations: 368 kB / 1.77 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/3.946, allocations: 416.2 kB / 1.77 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/3.95, allocations: 1.911 MB / 1.772 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/3.951, allocations: 1.096 MB / 1.773 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001313/3.952, allocations: 290.8 kB / 1.773 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/3.953, allocations: 393 kB / 1.774 GB, free: 162.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.457e-06/3.953, allocations: 0 / 1.774 GB, free: 162.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/4.018, allocations: 34.71 MB / 1.808 GB, free: 161.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/4.018, allocations: 229.8 kB / 1.808 GB, free: 161.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/7.431, allocations: 4 kB / 1.808 GB, free: 161.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)