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.9655/0.9655, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001438, allocations: 174.8 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.2 MB / 399.5 MB, free: 13.57 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.001192/0.001192, allocations: 94.38 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.642e-05, allocations: 2.531 kB / 0.5467 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2116, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.384/1.595, allocations: 413.7 MB / 1.026 GB, free: 185.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.596, allocations: 92.84 kB / 1.026 GB, free: 185.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.131/2.726, allocations: 329 MB / 1.347 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.443e-06/2.726, allocations: 0 / 1.347 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001018/2.726, allocations: 33.33 kB / 1.347 GB, free: 146.2 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.002477/2.729, allocations: 1.327 MB / 1.348 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/2.729, allocations: 11.31 kB / 1.348 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/2.729, allocations: 136.5 kB / 1.348 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/2.731, allocations: 1.049 MB / 1.349 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/2.731, allocations: 24.41 kB / 1.349 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/2.731, allocations: 48.56 kB / 1.35 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009049/2.732, allocations: 0.5215 MB / 1.35 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/2.733, allocations: 0.717 MB / 1.351 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/2.734, allocations: 7.219 kB / 1.351 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/2.734, allocations: 3.609 kB / 1.351 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/2.734, allocations: 22.34 kB / 1.351 GB, free: 143.8 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.004541/2.738, allocations: 3.93 MB / 1.355 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/2.739, allocations: 0.5183 MB / 1.355 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/2.74, allocations: 240.8 kB / 1.355 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/2.74, allocations: 1.002 MB / 1.356 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/2.741, allocations: 272.9 kB / 1.357 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 3.457e-06/2.741, allocations: 3.812 kB / 1.357 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.001391/2.742, allocations: 0.5843 MB / 1.357 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/2.742, allocations: 85.27 kB / 1.357 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/2.743, allocations: 0.6676 MB / 1.358 GB, free: 138 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/2.743, allocations: 25.7 kB / 1.358 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/2.743, allocations: 495.8 kB / 1.358 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/2.743, allocations: 195.9 kB / 1.359 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/2.743, allocations: 0 / 1.359 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.009e-05/2.743, allocations: 325.1 kB / 1.359 GB, free: 137 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/2.744, allocations: 171.7 kB / 1.359 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/2.744, allocations: 306.6 kB / 1.359 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/2.745, allocations: 257.8 kB / 1.36 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/2.745, allocations: 2.969 kB / 1.36 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00123/2.746, allocations: 0.6503 MB / 1.36 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/2.746, allocations: 0.8805 MB / 1.361 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/2.746, allocations: 3.719 kB / 1.361 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/2.747, allocations: 84.34 kB / 1.361 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/2.747, allocations: 120 kB / 1.361 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005534/2.748, allocations: 0.6781 MB / 1.362 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/2.748, allocations: 84.7 kB / 1.362 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/2.748, allocations: 35.27 kB / 1.362 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/2.748, allocations: 3.594 kB / 1.362 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001135/2.749, allocations: 0.5303 MB / 1.363 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/2.749, allocations: 0 / 1.363 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/2.75, allocations: 86.06 kB / 1.363 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/2.75, allocations: 118.3 kB / 1.363 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005285/2.751, allocations: 0.6734 MB / 1.363 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/2.751, allocations: 72.05 kB / 1.363 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/2.751, allocations: 26.33 kB / 1.364 GB, free: 133.7 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.0001803/2.751, allocations: 120.6 kB / 1.364 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00115/2.753, allocations: 0.5952 MB / 1.364 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/2.753, allocations: 94.09 kB / 1.364 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/2.754, allocations: 0.7673 MB / 1.365 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/2.754, allocations: 11.33 kB / 1.365 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/2.754, allocations: 7.469 kB / 1.365 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000994/2.755, allocations: 0.7387 MB / 1.366 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/2.758, allocations: 1.487 MB / 1.367 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.758, allocations: 2.75 kB / 1.367 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/2.758, allocations: 95.89 kB / 1.367 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/2.758, allocations: 139.7 kB / 1.367 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/2.759, allocations: 15.98 kB / 1.367 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000778/2.759, allocations: 1.255 MB / 1.369 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/2.759, allocations: 3.938 kB / 1.369 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/2.761, allocations: 1.1 MB / 1.37 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/2.761, allocations: 263.7 kB / 1.37 GB, free: 127 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/2.761, allocations: 6.812 kB / 1.37 GB, free: 127 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/2.762, allocations: 45.86 kB / 1.37 GB, free: 127 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/2.762, allocations: 44.5 kB / 1.37 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/2.762, allocations: 27.98 kB / 1.37 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005714/2.763, allocations: 0.5186 MB / 1.371 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/2.763, allocations: 3.188 kB / 1.371 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001772/2.764, allocations: 0.596 MB / 1.371 GB, free: 125.8 MB / 0.6511 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 (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003367/2.768, allocations: 2.57 MB / 1.374 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001502/2.769, allocations: 0.8282 MB / 1.375 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/2.769, allocations: 0 / 1.375 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/2.77, allocations: 310 kB / 1.375 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/2.772, allocations: 362.1 kB / 1.375 GB, free: 122 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/2.775, allocations: 1.786 MB / 1.377 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/2.775, allocations: 1.086 MB / 1.378 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001024/2.776, allocations: 270.4 kB / 1.378 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/2.777, allocations: 387.2 kB / 1.379 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/2.777, allocations: 0 / 1.379 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/2.832, allocations: 28.88 MB / 1.407 GB, free: 90.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/2.833, allocations: 190.6 kB / 1.407 GB, free: 89.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/6.059, allocations: 0 / 1.407 GB, free: 89.88 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)