Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7868/0.7868, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 189.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008625, allocations: 98.28 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 276.1 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.311e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4601, allocations: 82.78 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.31, allocations: 420.2 MB / 1.175 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.31, allocations: 89.77 kB / 1.175 GB, free: 2.664 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.587/2.897, allocations: 335.4 MB / 1.502 GB, free: 151.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.699e-06/2.897, allocations: 3.656 kB / 1.502 GB, free: 151.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001355/2.897, allocations: 34.36 kB / 1.502 GB, free: 151.7 MB / 0.698 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.003004/2.9, allocations: 1.326 MB / 1.504 GB, free: 151.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/2.9, allocations: 9.875 kB / 1.504 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/2.9, allocations: 128.8 kB / 1.504 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/2.901, allocations: 130.9 kB / 1.504 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/2.903, allocations: 0.9657 MB / 1.505 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/2.903, allocations: 61.41 kB / 1.505 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/2.903, allocations: 87.14 kB / 1.505 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/2.904, allocations: 0.822 MB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/2.904, allocations: 4.25 kB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/2.904, allocations: 34.81 kB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/2.904, allocations: 22.22 kB / 1.506 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/2.906, allocations: 0.5779 MB / 1.506 GB, free: 150.6 MB / 0.698 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.004697/2.91, allocations: 3.789 MB / 1.51 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/2.911, allocations: 0.5141 MB / 1.511 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/2.912, allocations: 278.6 kB / 1.511 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008992/2.913, allocations: 1.244 MB / 1.512 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/2.913, allocations: 309.5 kB / 1.512 GB, free: 147.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/2.913, allocations: 0.5938 kB / 1.512 GB, free: 147.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001224/2.914, allocations: 0.6358 MB / 1.513 GB, free: 147.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/2.914, allocations: 88.42 kB / 1.513 GB, free: 147 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000859/2.915, allocations: 0.7654 MB / 1.514 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/2.915, allocations: 38.67 kB / 1.514 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/2.916, allocations: 459.6 kB / 1.514 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/2.916, allocations: 219.8 kB / 1.515 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/2.916, allocations: 13.88 kB / 1.515 GB, free: 146.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/2.916, allocations: 333.2 kB / 1.515 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/2.916, allocations: 189.8 kB / 1.515 GB, free: 146.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/2.917, allocations: 321.7 kB / 1.515 GB, free: 146.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/2.917, allocations: 233.3 kB / 1.516 GB, free: 146.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.917, allocations: 0 / 1.516 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009386/2.918, allocations: 0.6768 MB / 1.516 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/2.918, allocations: 0.8735 MB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/2.918, allocations: 3.938 kB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/2.919, allocations: 109.7 kB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/2.919, allocations: 125.1 kB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/2.919, allocations: 0.6537 MB / 1.518 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/2.92, allocations: 102.2 kB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/2.92, allocations: 30.06 kB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/2.92, allocations: 7.891 kB / 1.518 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008121/2.921, allocations: 0.5571 MB / 1.519 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/2.921, allocations: 7.672 kB / 1.519 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/2.921, allocations: 104.8 kB / 1.519 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/2.922, allocations: 116.7 kB / 1.519 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/2.922, allocations: 0.654 MB / 1.519 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/2.923, allocations: 97.09 kB / 1.52 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/2.923, allocations: 27 kB / 1.52 GB, free: 143.9 MB / 0.698 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.0001244/2.923, allocations: 147.5 kB / 1.52 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/2.923, allocations: 101.7 kB / 1.52 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/2.924, allocations: 0.9217 MB / 1.521 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/2.925, allocations: 11.09 kB / 1.521 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.925, allocations: 3.562 kB / 1.521 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009666/2.925, allocations: 0.8259 MB / 1.522 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/2.928, allocations: 1.858 MB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.928, allocations: 7.281 kB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/2.928, allocations: 104.3 kB / 1.523 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/2.929, allocations: 159.9 kB / 1.524 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/2.929, allocations: 20.06 kB / 1.524 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007081/2.93, allocations: 1.244 MB / 1.525 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.93, allocations: 0 / 1.525 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/2.931, allocations: 1.255 MB / 1.526 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/2.932, allocations: 274.8 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/2.932, allocations: 21.72 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/2.932, allocations: 59.61 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/2.932, allocations: 48.89 kB / 1.526 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/2.932, allocations: 32.92 kB / 1.527 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000659/2.933, allocations: 0.5988 MB / 1.527 GB, free: 141.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/2.933, allocations: 0 / 1.527 GB, free: 141.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001501/2.935, allocations: 0.6176 MB / 1.528 GB, free: 141.3 MB / 0.698 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 (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.003439/2.938, allocations: 2.735 MB / 1.53 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001531/2.94, allocations: 0.9169 MB / 1.531 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.94, allocations: 3.172 kB / 1.531 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005735/2.94, allocations: 377.2 kB / 1.532 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/2.942, allocations: 410.4 kB / 1.532 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/2.945, allocations: 1.913 MB / 1.534 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/2.946, allocations: 1.089 MB / 1.535 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001033/2.947, allocations: 294.9 kB / 1.535 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/2.947, allocations: 394.7 kB / 1.536 GB, free: 139 MB / 0.698 GB Notification: Performance of SimCode: time 2.424e-06/2.947, allocations: 3.656 kB / 1.536 GB, free: 139 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/3.049, allocations: 34.69 MB / 1.569 GB, free: 137.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/3.049, allocations: 234.6 kB / 1.57 GB, free: 137.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/6.588, allocations: 3.875 kB / 1.57 GB, free: 137.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)