Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9105/0.9105, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 184.7 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.1 MB / 404.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 82.36 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.562e-05/4.564e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1856, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.471/1.656, allocations: 414.3 MB / 1.033 GB, free: 98.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.656, allocations: 91.75 kB / 1.033 GB, free: 98.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.234/2.89, allocations: 331 MB / 1.356 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/2.89, allocations: 4 kB / 1.356 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001824/2.89, allocations: 36.14 kB / 1.356 GB, free: 50.42 MB / 0.6511 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.003658/2.894, allocations: 1.329 MB / 1.358 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.894, allocations: 8.031 kB / 1.358 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003645/2.894, allocations: 130.8 kB / 1.358 GB, free: 48.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006864/2.895, allocations: 135.1 kB / 1.358 GB, free: 48.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/2.898, allocations: 1.048 MB / 1.359 GB, free: 47.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/2.898, allocations: 58 kB / 1.359 GB, free: 47.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/2.898, allocations: 83.95 kB / 1.359 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/2.9, allocations: 0.8226 MB / 1.36 GB, free: 46.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/2.9, allocations: 7.891 kB / 1.36 GB, free: 46.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/2.9, allocations: 35.98 kB / 1.36 GB, free: 46.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/2.9, allocations: 20 kB / 1.36 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/2.901, allocations: 0.5778 MB / 1.36 GB, free: 46.03 MB / 0.6511 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.005413/2.907, allocations: 3.715 MB / 1.364 GB, free: 42.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/2.907, allocations: 0.5054 MB / 1.365 GB, free: 41.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/2.908, allocations: 262.5 kB / 1.365 GB, free: 41.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008416/2.909, allocations: 1.239 MB / 1.366 GB, free: 39.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/2.909, allocations: 311.1 kB / 1.366 GB, free: 39.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.346e-06/2.909, allocations: 0 / 1.366 GB, free: 39.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001322/2.911, allocations: 0.6206 MB / 1.367 GB, free: 38.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/2.911, allocations: 81.67 kB / 1.367 GB, free: 38.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/2.912, allocations: 0.7668 MB / 1.368 GB, free: 37.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.484e-05/2.912, allocations: 37.7 kB / 1.368 GB, free: 37.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/2.912, allocations: 484 kB / 1.368 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/2.913, allocations: 208.9 kB / 1.368 GB, free: 37.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/2.913, allocations: 16 kB / 1.368 GB, free: 37.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/2.913, allocations: 330 kB / 1.369 GB, free: 36.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/2.913, allocations: 185.5 kB / 1.369 GB, free: 36.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/2.913, allocations: 322.1 kB / 1.369 GB, free: 36.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/2.914, allocations: 223.1 kB / 1.369 GB, free: 36.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/2.914, allocations: 4 kB / 1.369 GB, free: 36.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001163/2.915, allocations: 0.6705 MB / 1.37 GB, free: 35.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/2.915, allocations: 0.8754 MB / 1.371 GB, free: 34.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/2.915, allocations: 15.94 kB / 1.371 GB, free: 34.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/2.916, allocations: 100.8 kB / 1.371 GB, free: 34.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/2.916, allocations: 119.8 kB / 1.371 GB, free: 34.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005152/2.917, allocations: 0.6539 MB / 1.372 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/2.918, allocations: 103.3 kB / 1.372 GB, free: 33.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/2.918, allocations: 35.97 kB / 1.372 GB, free: 33.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/2.918, allocations: 0 / 1.372 GB, free: 33.46 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008774/2.919, allocations: 0.5527 MB / 1.372 GB, free: 32.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.919, allocations: 4.281 kB / 1.372 GB, free: 32.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/2.919, allocations: 108.8 kB / 1.373 GB, free: 32.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/2.92, allocations: 115.8 kB / 1.373 GB, free: 32.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/2.92, allocations: 0.6577 MB / 1.373 GB, free: 31.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/2.921, allocations: 91.39 kB / 1.373 GB, free: 31.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/2.921, allocations: 31.98 kB / 1.373 GB, free: 31.87 MB / 0.6511 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.0002009/2.921, allocations: 143.8 kB / 1.374 GB, free: 31.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/2.922, allocations: 102.7 kB / 1.374 GB, free: 31.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/2.923, allocations: 0.9142 MB / 1.375 GB, free: 30.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/2.923, allocations: 8 kB / 1.375 GB, free: 30.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/2.923, allocations: 4 kB / 1.375 GB, free: 30.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009984/2.924, allocations: 0.7985 MB / 1.375 GB, free: 29.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/2.926, allocations: 0.8726 MB / 1.376 GB, free: 28.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/2.926, allocations: 3.938 kB / 1.376 GB, free: 28.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/2.926, allocations: 103.9 kB / 1.376 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006618/2.927, allocations: 157.6 kB / 1.376 GB, free: 28.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/2.927, allocations: 19.94 kB / 1.376 GB, free: 28.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008039/2.928, allocations: 1.249 MB / 1.378 GB, free: 27.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/2.928, allocations: 0 / 1.378 GB, free: 27.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/2.93, allocations: 1.087 MB / 1.379 GB, free: 26.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/2.931, allocations: 275.6 kB / 1.379 GB, free: 25.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/2.931, allocations: 12 kB / 1.379 GB, free: 25.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/2.932, allocations: 67.86 kB / 1.379 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/2.932, allocations: 44.72 kB / 1.379 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/2.932, allocations: 23.98 kB / 1.379 GB, free: 25.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001003/2.933, allocations: 0.6174 MB / 1.38 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/2.933, allocations: 0 / 1.38 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002311/2.935, allocations: 0.6207 MB / 1.38 GB, free: 24.52 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003941/2.939, allocations: 2.443 MB / 1.383 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001786/2.941, allocations: 0.8874 MB / 1.384 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/2.941, allocations: 4.062 kB / 1.384 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/2.942, allocations: 340.3 kB / 1.384 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/2.944, allocations: 436.7 kB / 1.384 GB, free: 20.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/2.948, allocations: 1.904 MB / 1.386 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/2.949, allocations: 1.094 MB / 1.387 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001459/2.951, allocations: 298.8 kB / 1.388 GB, free: 17.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/2.951, allocations: 395.3 kB / 1.388 GB, free: 16.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/2.951, allocations: 0 / 1.388 GB, free: 16.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5483/3.499, allocations: 35.08 MB / 1.422 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/3.5, allocations: 231.6 kB / 1.422 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/6.968, allocations: 1.203 kB / 1.422 GB, free: 119.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)