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.54/2.54, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001566/0.001566, allocations: 176.9 kB / 360.6 MB, free: 7.32 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.123/2.123, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001121/0.00112, allocations: 93.16 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.172e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8247, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/2.191, allocations: 447.8 MB / 1.401 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/2.192, allocations: 86.95 kB / 1.401 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.803/3.995, allocations: 327.2 MB / 1.72 GB, free: 247.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/3.995, allocations: 0 / 1.72 GB, free: 247.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001293/3.995, allocations: 29.94 kB / 1.72 GB, free: 247.4 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.003602/3.999, allocations: 1.334 MB / 1.722 GB, free: 246.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/3.999, allocations: 7.812 kB / 1.722 GB, free: 246.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/4, allocations: 139.3 kB / 1.722 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/4.003, allocations: 0.9646 MB / 1.723 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/4.003, allocations: 27.56 kB / 1.723 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/4.003, allocations: 45.62 kB / 1.723 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/4.004, allocations: 0.5267 MB / 1.723 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/4.006, allocations: 0.7173 MB / 1.724 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/4.006, allocations: 4.734 kB / 1.724 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/4.006, allocations: 9.672 kB / 1.724 GB, free: 245.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/4.006, allocations: 18.44 kB / 1.724 GB, free: 245.4 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.006423/4.013, allocations: 3.624 MB / 1.728 GB, free: 243 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/4.014, allocations: 0.4919 MB / 1.728 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/4.015, allocations: 256.1 kB / 1.728 GB, free: 242.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/4.016, allocations: 1.246 MB / 1.73 GB, free: 241.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007757/4.016, allocations: 290 kB / 1.73 GB, free: 241.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 4.458e-06/4.017, allocations: 2.875 kB / 1.73 GB, free: 241.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.002476/4.019, allocations: 0.6329 MB / 1.73 GB, free: 240.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/4.019, allocations: 85.45 kB / 1.731 GB, free: 240.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/4.02, allocations: 0.6445 MB / 1.731 GB, free: 240.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/4.021, allocations: 25.7 kB / 1.731 GB, free: 240.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/4.021, allocations: 480 kB / 1.732 GB, free: 240.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/4.021, allocations: 211.2 kB / 1.732 GB, free: 239.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/4.021, allocations: 0 / 1.732 GB, free: 239.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/4.021, allocations: 329.1 kB / 1.732 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/4.022, allocations: 178.3 kB / 1.732 GB, free: 239.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/4.022, allocations: 304.4 kB / 1.733 GB, free: 239.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/4.024, allocations: 256.1 kB / 1.733 GB, free: 239.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/4.024, allocations: 3.438 kB / 1.733 GB, free: 239.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002207/4.026, allocations: 0.6487 MB / 1.733 GB, free: 239 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/4.026, allocations: 0.8789 MB / 1.734 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/4.026, allocations: 3.75 kB / 1.734 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/4.027, allocations: 89.5 kB / 1.734 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/4.027, allocations: 118.1 kB / 1.735 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/4.028, allocations: 0.6782 MB / 1.735 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/4.03, allocations: 77.11 kB / 1.735 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/4.03, allocations: 31.83 kB / 1.735 GB, free: 237.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/4.03, allocations: 3.844 kB / 1.735 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001933/4.032, allocations: 0.5404 MB / 1.736 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/4.032, allocations: 3.781 kB / 1.736 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/4.032, allocations: 76.92 kB / 1.736 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/4.033, allocations: 115.8 kB / 1.736 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007879/4.034, allocations: 0.6793 MB / 1.737 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/4.035, allocations: 71.81 kB / 1.737 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/4.035, allocations: 29.05 kB / 1.737 GB, free: 236.6 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.0002316/4.035, allocations: 125.2 kB / 1.737 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002094/4.037, allocations: 0.6242 MB / 1.738 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/4.038, allocations: 89.53 kB / 1.738 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/4.04, allocations: 0.8907 MB / 1.738 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/4.04, allocations: 10.97 kB / 1.738 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/4.04, allocations: 6.516 kB / 1.738 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001978/4.042, allocations: 0.8085 MB / 1.739 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/4.047, allocations: 1.723 MB / 1.741 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/4.047, allocations: 0 / 1.741 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/4.048, allocations: 108.8 kB / 1.741 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/4.049, allocations: 138.2 kB / 1.741 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/4.049, allocations: 11.84 kB / 1.741 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/4.05, allocations: 1.263 MB / 1.742 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/4.05, allocations: 3.75 kB / 1.742 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/4.053, allocations: 1.213 MB / 1.744 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/4.054, allocations: 273.8 kB / 1.744 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/4.054, allocations: 6.75 kB / 1.744 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/4.055, allocations: 49.47 kB / 1.744 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/4.055, allocations: 53.7 kB / 1.744 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.274e-05/4.055, allocations: 29.58 kB / 1.744 GB, free: 232.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008643/4.056, allocations: 0.5011 MB / 1.745 GB, free: 232.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/4.056, allocations: 0 / 1.745 GB, free: 232.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002219/4.058, allocations: 0.6024 MB / 1.745 GB, free: 232.1 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.005549/4.064, allocations: 2.666 MB / 1.748 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002427/4.066, allocations: 0.8682 MB / 1.749 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/4.066, allocations: 0 / 1.749 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/4.067, allocations: 355.7 kB / 1.749 GB, free: 230.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/4.07, allocations: 359 kB / 1.749 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/4.075, allocations: 1.836 MB / 1.751 GB, free: 229.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/4.076, allocations: 1.098 MB / 1.752 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00174/4.078, allocations: 273.5 kB / 1.752 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/4.079, allocations: 393.8 kB / 1.753 GB, free: 228.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/4.079, allocations: 0 / 1.753 GB, free: 228.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/4.18, allocations: 28.78 MB / 1.781 GB, free: 216.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/4.18, allocations: 177.2 kB / 1.781 GB, free: 216.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.97/8.15, allocations: 0 / 1.781 GB, free: 216.6 MB / 0.948 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)