Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.339/2.339, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00128/0.00128, allocations: 176 kB / 0.4901 GB, free: 2.234 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.5/1.5, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001001/0.001001, allocations: 96.64 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 8.031 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3006, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.504, allocations: 462.3 MB / 1.681 GB, free: 15.79 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.504, allocations: 92.48 kB / 1.681 GB, free: 15.74 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/3.053, allocations: 340.3 MB / 2.013 GB, free: 317.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.376e-06/3.053, allocations: 4 kB / 2.013 GB, free: 317.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001824/3.053, allocations: 29.34 kB / 2.013 GB, free: 317.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.004459/3.058, allocations: 1.516 MB / 2.015 GB, free: 316.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/3.058, allocations: 12.03 kB / 2.015 GB, free: 316.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002718/3.058, allocations: 126.8 kB / 2.015 GB, free: 316.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/3.058, allocations: 143.6 kB / 2.015 GB, free: 316 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/3.06, allocations: 0.9725 MB / 2.016 GB, free: 315 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/3.06, allocations: 65.94 kB / 2.016 GB, free: 315 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/3.06, allocations: 80 kB / 2.016 GB, free: 314.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/3.062, allocations: 0.8498 MB / 2.017 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/3.062, allocations: 7.906 kB / 2.017 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/3.062, allocations: 43.98 kB / 2.017 GB, free: 313.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/3.062, allocations: 20 kB / 2.017 GB, free: 313.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/3.063, allocations: 0.6167 MB / 2.017 GB, free: 313.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.003999/3.067, allocations: 3.79 MB / 2.021 GB, free: 309.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/3.068, allocations: 0.5768 MB / 2.022 GB, free: 308.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008592/3.069, allocations: 1.249 MB / 2.023 GB, free: 307.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/3.069, allocations: 326.5 kB / 2.023 GB, free: 306.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=63): time 3.366e-06/3.069, allocations: 3.938 kB / 2.023 GB, free: 306.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=63): time 0.002083/3.071, allocations: 1.135 MB / 2.024 GB, free: 305.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/3.071, allocations: 93.66 kB / 2.024 GB, free: 305.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/3.072, allocations: 0.7744 MB / 2.025 GB, free: 304.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/3.072, allocations: 37.7 kB / 2.025 GB, free: 304.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/3.073, allocations: 464.2 kB / 2.026 GB, free: 304.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/3.073, allocations: 217.9 kB / 2.026 GB, free: 304.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/3.073, allocations: 12 kB / 2.026 GB, free: 304.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/3.073, allocations: 330.1 kB / 2.026 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/3.073, allocations: 209.2 kB / 2.026 GB, free: 303.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/3.074, allocations: 344.7 kB / 2.027 GB, free: 303.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/3.074, allocations: 250.1 kB / 2.027 GB, free: 302.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/3.074, allocations: 0 / 2.027 GB, free: 302.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001051/3.075, allocations: 0.7173 MB / 2.028 GB, free: 302.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/3.075, allocations: 0.8714 MB / 2.029 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/3.075, allocations: 4 kB / 2.029 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/3.076, allocations: 112.7 kB / 2.029 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/3.076, allocations: 123.8 kB / 2.029 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004532/3.077, allocations: 0.6577 MB / 2.029 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/3.078, allocations: 99.39 kB / 2.03 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/3.078, allocations: 28.06 kB / 2.03 GB, free: 300.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/3.078, allocations: 4 kB / 2.03 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000859/3.079, allocations: 0.5799 MB / 2.03 GB, free: 299.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/3.079, allocations: 4 kB / 2.03 GB, free: 299.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/3.079, allocations: 104.9 kB / 2.03 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/3.079, allocations: 124 kB / 2.03 GB, free: 299.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004098/3.08, allocations: 0.6615 MB / 2.031 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/3.08, allocations: 95.39 kB / 2.031 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/3.08, allocations: 27.98 kB / 2.031 GB, free: 298.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.0004511/3.081, allocations: 325 kB / 2.031 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/3.081, allocations: 102.8 kB / 2.031 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/3.083, allocations: 0.9615 MB / 2.032 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/3.083, allocations: 12 kB / 2.032 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/3.083, allocations: 0 / 2.032 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/3.084, allocations: 0.862 MB / 2.033 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/3.086, allocations: 1.885 MB / 2.035 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/3.086, allocations: 0 / 2.035 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/3.087, allocations: 111.8 kB / 2.035 GB, free: 294.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/3.087, allocations: 161.6 kB / 2.035 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/3.087, allocations: 19.98 kB / 2.035 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006799/3.088, allocations: 1.247 MB / 2.037 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/3.088, allocations: 8.094 kB / 2.037 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/3.09, allocations: 1.309 MB / 2.038 GB, free: 291.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/3.09, allocations: 283.6 kB / 2.038 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/3.09, allocations: 19.95 kB / 2.038 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/3.091, allocations: 63.84 kB / 2.038 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/3.091, allocations: 44.59 kB / 2.038 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/3.091, allocations: 35.92 kB / 2.038 GB, free: 290.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006416/3.091, allocations: 0.613 MB / 2.039 GB, free: 290.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/3.091, allocations: 0 / 2.039 GB, free: 290.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001633/3.093, allocations: 0.612 MB / 2.04 GB, free: 289.7 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.003815/3.097, allocations: 2.835 MB / 2.042 GB, free: 287 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001623/3.099, allocations: 0.9342 MB / 2.043 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/3.099, allocations: 0 / 2.043 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006034/3.099, allocations: 391.4 kB / 2.044 GB, free: 285.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/3.101, allocations: 423 kB / 2.044 GB, free: 285.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007954/3.109, allocations: 7.432 MB / 2.051 GB, free: 277.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/3.109, allocations: 1.092 MB / 2.052 GB, free: 276.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008288/3.11, allocations: 223.1 kB / 2.053 GB, free: 276.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/3.111, allocations: 415.3 kB / 2.053 GB, free: 275.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.304e-06/3.111, allocations: 0 / 2.053 GB, free: 275.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05075/3.162, allocations: 32.68 MB / 2.085 GB, free: 243.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/3.162, allocations: 267.7 kB / 2.085 GB, free: 243.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/6.943, allocations: 2.672 kB / 2.085 GB, free: 243.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat does not exist to compare? outputFormat=mat