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.74/2.74, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001607/0.001607, allocations: 181 kB / 370.8 MB, free: 10.84 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.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 101.3 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.000523, allocations: 14.81 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2208, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.443/1.664, allocations: 448.6 MB / 1.416 GB, free: 13.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.664, allocations: 95.14 kB / 1.416 GB, free: 13.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.7/3.364, allocations: 330.4 MB / 1.739 GB, free: 75.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.545e-06/3.364, allocations: 0 / 1.739 GB, free: 75.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001302/3.364, allocations: 31.98 kB / 1.739 GB, free: 75.8 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.004526/3.368, allocations: 1.525 MB / 1.741 GB, free: 74.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/3.368, allocations: 12.03 kB / 1.741 GB, free: 74.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003984/3.369, allocations: 126.7 kB / 1.741 GB, free: 74.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/3.369, allocations: 138.5 kB / 1.741 GB, free: 73.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/3.372, allocations: 0.988 MB / 1.742 GB, free: 72.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/3.372, allocations: 61.98 kB / 1.742 GB, free: 72.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/3.373, allocations: 76 kB / 1.742 GB, free: 72.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/3.375, allocations: 0.8583 MB / 1.743 GB, free: 71.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/3.375, allocations: 3.938 kB / 1.743 GB, free: 71.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/3.375, allocations: 32 kB / 1.743 GB, free: 71.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/3.375, allocations: 20 kB / 1.743 GB, free: 71.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/3.377, allocations: 0.6207 MB / 1.743 GB, free: 71.19 MB / 0.948 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.006515/3.383, allocations: 3.793 MB / 1.747 GB, free: 67.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/3.385, allocations: 0.5617 MB / 1.748 GB, free: 66.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/3.386, allocations: 1.243 MB / 1.749 GB, free: 65.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008866/3.387, allocations: 339 kB / 1.749 GB, free: 64.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 3.697e-06/3.387, allocations: 0 / 1.749 GB, free: 64.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.003814/3.391, allocations: 1.135 MB / 1.75 GB, free: 63.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/3.391, allocations: 85.67 kB / 1.75 GB, free: 63.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/3.392, allocations: 0.7782 MB / 1.751 GB, free: 62.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/3.392, allocations: 41.7 kB / 1.751 GB, free: 62.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/3.393, allocations: 468.2 kB / 1.752 GB, free: 62.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/3.393, allocations: 216.8 kB / 1.752 GB, free: 61.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/3.393, allocations: 16 kB / 1.752 GB, free: 61.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/3.393, allocations: 326 kB / 1.752 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/3.394, allocations: 213.1 kB / 1.752 GB, free: 61.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/3.395, allocations: 336.7 kB / 1.753 GB, free: 61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/3.395, allocations: 254.1 kB / 1.753 GB, free: 60.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/3.395, allocations: 0 / 1.753 GB, free: 60.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00212/3.398, allocations: 0.7135 MB / 1.754 GB, free: 60.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/3.398, allocations: 0.8813 MB / 1.755 GB, free: 59.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/3.398, allocations: 7.938 kB / 1.755 GB, free: 59.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008431/3.399, allocations: 104.8 kB / 1.755 GB, free: 58.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/3.4, allocations: 123.8 kB / 1.755 GB, free: 58.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/3.4, allocations: 0.6616 MB / 1.755 GB, free: 58.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/3.402, allocations: 107.3 kB / 1.756 GB, free: 58.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/3.402, allocations: 27.98 kB / 1.756 GB, free: 58.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/3.402, allocations: 4 kB / 1.756 GB, free: 58.03 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/3.403, allocations: 0.5723 MB / 1.756 GB, free: 57.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/3.403, allocations: 4 kB / 1.756 GB, free: 57.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/3.404, allocations: 104.8 kB / 1.756 GB, free: 57.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/3.405, allocations: 111.8 kB / 1.756 GB, free: 57.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006584/3.406, allocations: 0.6696 MB / 1.757 GB, free: 56.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/3.407, allocations: 91.45 kB / 1.757 GB, free: 56.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/3.407, allocations: 27.98 kB / 1.757 GB, free: 56.42 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 () * 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.0006798/3.408, allocations: 328.9 kB / 1.757 GB, free: 56.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/3.408, allocations: 106.7 kB / 1.758 GB, free: 55.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/3.411, allocations: 0.9576 MB / 1.758 GB, free: 55.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/3.411, allocations: 11.98 kB / 1.758 GB, free: 55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/3.411, allocations: 0 / 1.758 GB, free: 55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/3.413, allocations: 0.8629 MB / 1.759 GB, free: 54.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/3.417, allocations: 1.884 MB / 1.761 GB, free: 52.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/3.417, allocations: 8.062 kB / 1.761 GB, free: 52.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/3.418, allocations: 107.8 kB / 1.761 GB, free: 52.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000906/3.419, allocations: 157.6 kB / 1.761 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/3.419, allocations: 31.94 kB / 1.761 GB, free: 51.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/3.42, allocations: 1.243 MB / 1.763 GB, free: 50.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/3.42, allocations: 7.875 kB / 1.763 GB, free: 50.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/3.423, allocations: 1.307 MB / 1.764 GB, free: 49.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/3.424, allocations: 283.5 kB / 1.764 GB, free: 48.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/3.424, allocations: 23.95 kB / 1.764 GB, free: 48.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/3.425, allocations: 59.89 kB / 1.764 GB, free: 48.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/3.426, allocations: 40.59 kB / 1.764 GB, free: 48.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/3.426, allocations: 35.92 kB / 1.764 GB, free: 48.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001107/3.427, allocations: 0.6169 MB / 1.765 GB, free: 48.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/3.427, allocations: 0 / 1.765 GB, free: 48.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002312/3.429, allocations: 0.612 MB / 1.766 GB, free: 47.47 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) * 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.005585/3.435, allocations: 2.84 MB / 1.768 GB, free: 44.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002896/3.438, allocations: 0.9258 MB / 1.769 GB, free: 43.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/3.438, allocations: 0.875 kB / 1.769 GB, free: 43.83 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/3.439, allocations: 391.7 kB / 1.77 GB, free: 43.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/3.442, allocations: 418 kB / 1.77 GB, free: 43.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/3.456, allocations: 7.424 MB / 1.777 GB, free: 35.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/3.456, allocations: 1.1 MB / 1.778 GB, free: 34.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001433/3.458, allocations: 219.1 kB / 1.779 GB, free: 34.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/3.458, allocations: 419.2 kB / 1.779 GB, free: 33.62 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/3.458, allocations: 0 / 1.779 GB, free: 33.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08413/3.543, allocations: 32.68 MB / 1.811 GB, free: 1.281 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/3.543, allocations: 263.5 kB / 1.811 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.861/7.403, allocations: 0 / 1.811 GB, free: 0.9414 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)