Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.557/0.557, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008208/0.0008208, allocations: 87.89 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.594e-05, allocations: 0 / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.127, allocations: 413 MB / 0.9569 GB, free: 65.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.127, allocations: 94.25 kB / 0.957 GB, free: 65.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.264/2.391, allocations: 337 MB / 1.286 GB, free: 106 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/2.391, allocations: 0.625 kB / 1.286 GB, free: 106 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001165/2.391, allocations: 29.7 kB / 1.286 GB, free: 106 MB / 0.6042 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.002882/2.394, allocations: 1.323 MB / 1.287 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/2.394, allocations: 10.67 kB / 1.287 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/2.395, allocations: 140.4 kB / 1.288 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/2.397, allocations: 0.9808 MB / 1.288 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/2.397, allocations: 23.38 kB / 1.289 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/2.397, allocations: 48.42 kB / 1.289 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001056/2.398, allocations: 0.5243 MB / 1.289 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/2.399, allocations: 0.7185 MB / 1.29 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/2.399, allocations: 2 kB / 1.29 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/2.399, allocations: 1 kB / 1.29 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/2.399, allocations: 20.44 kB / 1.29 GB, free: 105.1 MB / 0.6042 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.004317/2.404, allocations: 3.623 MB / 1.293 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/2.405, allocations: 0.4894 MB / 1.294 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/2.405, allocations: 261.2 kB / 1.294 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/2.406, allocations: 1.246 MB / 1.295 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/2.406, allocations: 291.3 kB / 1.296 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 2.524e-06/2.406, allocations: 2.625 kB / 1.296 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.001629/2.408, allocations: 0.6296 MB / 1.296 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/2.408, allocations: 83.89 kB / 1.296 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/2.409, allocations: 0.6447 MB / 1.297 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/2.409, allocations: 32.67 kB / 1.297 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/2.409, allocations: 475 kB / 1.297 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/2.409, allocations: 208.4 kB / 1.298 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/2.409, allocations: 0.9062 kB / 1.298 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/2.409, allocations: 327.9 kB / 1.298 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/2.41, allocations: 174.7 kB / 1.298 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/2.41, allocations: 311.6 kB / 1.298 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/2.411, allocations: 253.5 kB / 1.299 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/2.411, allocations: 6.156 kB / 1.299 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001198/2.412, allocations: 0.6536 MB / 1.299 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/2.412, allocations: 0.8791 MB / 1.3 GB, free: 99.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/2.412, allocations: 1.875 kB / 1.3 GB, free: 99.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/2.412, allocations: 91.95 kB / 1.3 GB, free: 99.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/2.413, allocations: 122.3 kB / 1.3 GB, free: 99.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005622/2.413, allocations: 0.6661 MB / 1.301 GB, free: 99.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/2.414, allocations: 78.78 kB / 1.301 GB, free: 99.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/2.414, allocations: 33.89 kB / 1.301 GB, free: 99.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/2.414, allocations: 3.906 kB / 1.301 GB, free: 99.13 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/2.415, allocations: 0.5373 MB / 1.302 GB, free: 99.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/2.415, allocations: 0 / 1.302 GB, free: 99.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/2.416, allocations: 90.81 kB / 1.302 GB, free: 99.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/2.416, allocations: 112.1 kB / 1.302 GB, free: 99.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/2.416, allocations: 0.6811 MB / 1.302 GB, free: 98.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/2.417, allocations: 67.53 kB / 1.302 GB, free: 98.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/2.417, allocations: 28.94 kB / 1.303 GB, free: 98.56 MB / 0.6042 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.0001555/2.417, allocations: 119.4 kB / 1.303 GB, free: 98.46 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001371/2.419, allocations: 0.6268 MB / 1.303 GB, free: 98.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/2.419, allocations: 94.45 kB / 1.303 GB, free: 98.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/2.421, allocations: 0.8726 MB / 1.304 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/2.421, allocations: 10.94 kB / 1.304 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.421, allocations: 1.984 kB / 1.304 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/2.422, allocations: 0.8143 MB / 1.305 GB, free: 97.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/2.425, allocations: 1.711 MB / 1.307 GB, free: 97.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.425, allocations: 1.062 kB / 1.307 GB, free: 97.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/2.426, allocations: 106.2 kB / 1.307 GB, free: 97.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/2.426, allocations: 142 kB / 1.307 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/2.426, allocations: 13.33 kB / 1.307 GB, free: 97.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007381/2.427, allocations: 1.259 MB / 1.308 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.427, allocations: 2.406 kB / 1.308 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/2.429, allocations: 1.217 MB / 1.309 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/2.429, allocations: 270.7 kB / 1.31 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/2.429, allocations: 2.594 kB / 1.31 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/2.43, allocations: 53.17 kB / 1.31 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/2.43, allocations: 49.86 kB / 1.31 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/2.43, allocations: 31.48 kB / 1.31 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006291/2.431, allocations: 0.5019 MB / 1.31 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/2.431, allocations: 3.844 kB / 1.31 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001823/2.433, allocations: 0.5993 MB / 1.311 GB, free: 95.96 MB / 0.6042 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.003894/2.436, allocations: 2.671 MB / 1.313 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001712/2.438, allocations: 0.8681 MB / 1.314 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/2.438, allocations: 1.469 kB / 1.314 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/2.439, allocations: 348.1 kB / 1.315 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/2.441, allocations: 360.4 kB / 1.315 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/2.445, allocations: 1.85 MB / 1.317 GB, free: 94.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/2.445, allocations: 1.095 MB / 1.318 GB, free: 93.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001117/2.447, allocations: 273.4 kB / 1.318 GB, free: 93.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/2.447, allocations: 387.3 kB / 1.318 GB, free: 93.66 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/2.447, allocations: 3.688 kB / 1.318 GB, free: 93.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/2.499, allocations: 28.77 MB / 1.347 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/2.499, allocations: 178.9 kB / 1.347 GB, free: 92.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/5.549, allocations: 6.531 kB / 1.347 GB, free: 92.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)