Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.1 MB / 0.7948 GB, free: 18.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008156, allocations: 96.31 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 11.06 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9625/1.207, allocations: 461.5 MB / 1.674 GB, free: 4.074 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.207, allocations: 94.89 kB / 1.674 GB, free: 4.023 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.278/2.485, allocations: 340.3 MB / 2.006 GB, free: 311.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.094e-06/2.485, allocations: 0 / 2.006 GB, free: 311.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001705/2.485, allocations: 28 kB / 2.006 GB, free: 311.9 MB / 1.167 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.004157/2.489, allocations: 1.523 MB / 2.007 GB, free: 310.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/2.49, allocations: 12.03 kB / 2.007 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003674/2.49, allocations: 118.8 kB / 2.008 GB, free: 310.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/2.491, allocations: 143.6 kB / 2.008 GB, free: 310.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/2.493, allocations: 0.9816 MB / 2.009 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/2.493, allocations: 66 kB / 2.009 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/2.493, allocations: 83.91 kB / 2.009 GB, free: 308.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/2.495, allocations: 0.8537 MB / 2.01 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/2.495, allocations: 4 kB / 2.01 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/2.495, allocations: 35.98 kB / 2.01 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/2.495, allocations: 16 kB / 2.01 GB, free: 307.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/2.496, allocations: 0.6284 MB / 2.01 GB, free: 307.3 MB / 1.167 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.005246/2.501, allocations: 3.785 MB / 2.014 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/2.502, allocations: 0.572 MB / 2.015 GB, free: 302.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009295/2.503, allocations: 1.239 MB / 2.016 GB, free: 301.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/2.504, allocations: 331 kB / 2.016 GB, free: 300.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=63): time 2.594e-06/2.504, allocations: 0 / 2.016 GB, free: 300.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=63): time 0.002623/2.507, allocations: 1.135 MB / 2.017 GB, free: 299.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/2.507, allocations: 85.67 kB / 2.017 GB, free: 299.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/2.508, allocations: 0.7744 MB / 2.018 GB, free: 298.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/2.508, allocations: 37.7 kB / 2.018 GB, free: 298.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/2.508, allocations: 472.2 kB / 2.019 GB, free: 298.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/2.509, allocations: 220.8 kB / 2.019 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/2.509, allocations: 12 kB / 2.019 GB, free: 298.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001028/2.509, allocations: 326 kB / 2.019 GB, free: 297.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/2.509, allocations: 209.2 kB / 2.019 GB, free: 297.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/2.51, allocations: 340.7 kB / 2.02 GB, free: 297.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/2.51, allocations: 250.1 kB / 2.02 GB, free: 296.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/2.51, allocations: 3.938 kB / 2.02 GB, free: 296.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001305/2.511, allocations: 0.7133 MB / 2.021 GB, free: 296.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/2.512, allocations: 0.8754 MB / 2.021 GB, free: 295.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/2.512, allocations: 11.94 kB / 2.021 GB, free: 295.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/2.512, allocations: 104.8 kB / 2.022 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/2.513, allocations: 127.8 kB / 2.022 GB, free: 295 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005567/2.513, allocations: 0.6616 MB / 2.022 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/2.514, allocations: 99.39 kB / 2.022 GB, free: 294.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/2.514, allocations: 27.98 kB / 2.022 GB, free: 294.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/2.514, allocations: 4 kB / 2.022 GB, free: 294.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009975/2.516, allocations: 0.5724 MB / 2.023 GB, free: 293.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/2.516, allocations: 8.062 kB / 2.023 GB, free: 293.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/2.516, allocations: 104.8 kB / 2.023 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/2.516, allocations: 111.8 kB / 2.023 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005021/2.517, allocations: 0.6654 MB / 2.024 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/2.518, allocations: 99.39 kB / 2.024 GB, free: 292.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/2.518, allocations: 27.98 kB / 2.024 GB, free: 292.6 MB / 1.167 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.0005812/2.518, allocations: 325.6 kB / 2.024 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/2.519, allocations: 102.8 kB / 2.024 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/2.52, allocations: 0.9655 MB / 2.025 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/2.52, allocations: 11.98 kB / 2.025 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/2.52, allocations: 0 / 2.025 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/2.522, allocations: 0.8542 MB / 2.026 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/2.525, allocations: 1.892 MB / 2.028 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/2.525, allocations: 0 / 2.028 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/2.525, allocations: 115.9 kB / 2.028 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/2.526, allocations: 153.6 kB / 2.028 GB, free: 288 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/2.526, allocations: 23.97 kB / 2.028 GB, free: 288 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006814/2.526, allocations: 1.249 MB / 2.03 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.526, allocations: 4.031 kB / 2.03 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/2.528, allocations: 1.311 MB / 2.031 GB, free: 285.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/2.529, allocations: 279.5 kB / 2.031 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/2.529, allocations: 23.95 kB / 2.031 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/2.53, allocations: 55.95 kB / 2.031 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/2.53, allocations: 44.59 kB / 2.031 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/2.53, allocations: 27.98 kB / 2.031 GB, free: 284.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007558/2.53, allocations: 0.613 MB / 2.032 GB, free: 284.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/2.531, allocations: 4 kB / 2.032 GB, free: 284.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001891/2.532, allocations: 0.6167 MB / 2.032 GB, free: 283.6 MB / 1.167 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 (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.004059/2.536, allocations: 2.847 MB / 2.035 GB, free: 280.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001796/2.538, allocations: 0.9297 MB / 2.036 GB, free: 280 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/2.538, allocations: 0 / 2.036 GB, free: 280 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/2.539, allocations: 388.5 kB / 2.036 GB, free: 279.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/2.541, allocations: 411.5 kB / 2.037 GB, free: 279.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/2.552, allocations: 7.435 MB / 2.044 GB, free: 271.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/2.553, allocations: 1.092 MB / 2.045 GB, free: 270.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00104/2.554, allocations: 215.1 kB / 2.045 GB, free: 270.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/2.555, allocations: 419.2 kB / 2.046 GB, free: 269.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/2.555, allocations: 0 / 2.046 GB, free: 269.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/2.612, allocations: 32.68 MB / 2.078 GB, free: 237.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/2.612, allocations: 258.7 kB / 2.078 GB, free: 237.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/5.86, allocations: 0 / 2.078 GB, free: 237.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat does not exist to compare? outputFormat=mat