Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json 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/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 190.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.845/1.845, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.11/3.11, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.05 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5364, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.511/2.047, allocations: 233 MB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03557/2.083, allocations: 10.36 MB / 1.29 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006722/2.09, allocations: 54.84 kB / 1.29 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006923/2.097, allocations: 1.066 MB / 1.291 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02087/2.118, allocations: 3.44 MB / 1.294 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01285/2.13, allocations: 1.892 MB / 1.296 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01618/2.147, allocations: 4.452 MB / 1.301 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005268/2.152, allocations: 1.552 MB / 1.302 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00736/2.159, allocations: 1.613 MB / 1.304 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00714/2.167, allocations: 1.586 MB / 1.305 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001344/2.168, allocations: 183.7 kB / 1.305 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/2.185, allocations: 3.376 MB / 1.309 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002935/2.188, allocations: 0.6958 MB / 1.309 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004691/2.192, allocations: 1.065 MB / 1.311 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01772/2.21, allocations: 4.018 MB / 1.314 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/2.21, allocations: 0.75 kB / 1.314 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.787e-06/2.21, allocations: 0 / 1.314 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001338/2.21, allocations: 1.031 kB / 1.314 GB, free: 1.055 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01494/2.225, allocations: 2.488 MB / 1.317 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/2.225, allocations: 11.25 kB / 1.317 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/2.227, allocations: 202.7 kB / 1.317 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/2.234, allocations: 0.5243 MB / 1.318 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008234/2.242, allocations: 1.228 MB / 1.319 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/2.243, allocations: 104.7 kB / 1.319 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008972/2.244, allocations: 136.8 kB / 1.319 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007456/2.251, allocations: 1.665 MB / 1.321 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/2.251, allocations: 8.875 kB / 1.321 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/2.252, allocations: 58.88 kB / 1.321 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/2.252, allocations: 74.59 kB / 1.321 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/2.257, allocations: 1.444 MB / 1.322 GB, free: 15.09 MB / 1.014 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.01735/2.274, allocations: 6.964 MB / 1.329 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/2.278, allocations: 1.2 MB / 1.33 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/2.28, allocations: 0.6126 MB / 1.331 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/2.281, allocations: 0.8635 MB / 1.332 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/2.283, allocations: 0.6091 MB / 1.332 GB, free: 10.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 6.533e-06/2.283, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.005422/2.288, allocations: 1.571 MB / 1.334 GB, free: 10.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/2.288, allocations: 88.23 kB / 1.334 GB, free: 10.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/2.292, allocations: 1.202 MB / 1.335 GB, free: 10.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/2.292, allocations: 47.38 kB / 1.335 GB, free: 10.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/2.293, allocations: 0.6772 MB / 1.336 GB, free: 9.805 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007833/2.294, allocations: 384.2 kB / 1.336 GB, free: 9.562 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/2.295, allocations: 173 kB / 1.336 GB, free: 9.543 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002102/2.295, allocations: 347.8 kB / 1.337 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/2.296, allocations: 428.2 kB / 1.337 GB, free: 9.223 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/2.297, allocations: 0.5616 MB / 1.338 GB, free: 9.109 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/2.299, allocations: 1.014 MB / 1.339 GB, free: 9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/2.299, allocations: 0 / 1.339 GB, free: 9 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003184/2.302, allocations: 1.216 MB / 1.34 GB, free: 8.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/2.303, allocations: 11.03 kB / 1.34 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/2.303, allocations: 3.375 kB / 1.34 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.208e-05/2.303, allocations: 6.844 kB / 1.34 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/2.304, allocations: 220 kB / 1.34 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/2.304, allocations: 7.719 kB / 1.34 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/2.306, allocations: 187.7 kB / 1.34 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/2.306, allocations: 33.03 kB / 1.34 GB, free: 8.801 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001726/2.308, allocations: 0.7431 MB / 1.341 GB, free: 8.715 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009401/2.309, allocations: 0.5432 MB / 1.341 GB, free: 8.609 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/2.311, allocations: 0.9893 MB / 1.342 GB, free: 8.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.808e-06/2.311, allocations: 1.781 kB / 1.342 GB, free: 8.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002676/2.313, allocations: 1.195 MB / 1.344 GB, free: 8.367 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/2.313, allocations: 10.28 kB / 1.344 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/2.314, allocations: 0 / 1.344 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/2.314, allocations: 6.844 kB / 1.344 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/2.314, allocations: 213 kB / 1.344 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/2.315, allocations: 7.875 kB / 1.344 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/2.317, allocations: 165.2 kB / 1.344 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/2.317, allocations: 37.55 kB / 1.344 GB, free: 8.316 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000483/2.317, allocations: 242.7 kB / 1.344 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/2.318, allocations: 148.8 kB / 1.344 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/2.321, allocations: 1.244 MB / 1.346 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/2.321, allocations: 13.78 kB / 1.346 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/2.321, allocations: 0 / 1.346 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/2.322, allocations: 1.013 MB / 1.347 GB, free: 7.871 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/2.329, allocations: 3.172 MB / 1.35 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/2.329, allocations: 7.156 kB / 1.35 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/2.33, allocations: 227.6 kB / 1.35 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-05/2.33, allocations: 8.094 kB / 1.35 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/2.331, allocations: 29.27 kB / 1.35 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/2.331, allocations: 8.062 kB / 1.35 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.331, allocations: 2.938 kB / 1.35 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/2.334, allocations: 1.914 MB / 1.352 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/2.335, allocations: 358 kB / 1.352 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/2.336, allocations: 26.78 kB / 1.352 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/2.338, allocations: 112.2 kB / 1.352 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/2.338, allocations: 72.7 kB / 1.352 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/2.338, allocations: 37.62 kB / 1.352 GB, free: 5.559 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001672/2.34, allocations: 0.8363 MB / 1.353 GB, free: 5.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.91e-07/2.34, allocations: 0 / 1.353 GB, free: 5.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003321/2.343, allocations: 0.8369 MB / 1.354 GB, free: 5.062 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005339/2.348, allocations: 2.938 MB / 1.357 GB, free: 3.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004526/2.353, allocations: 1.859 MB / 1.359 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.353, allocations: 4.062 kB / 1.359 GB, free: 2.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/2.354, allocations: 0.5661 MB / 1.359 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/2.365, allocations: 0.8835 MB / 1.36 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/2.391, allocations: 12.6 MB / 1.372 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/2.393, allocations: 1.369 MB / 1.374 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002461/2.395, allocations: 455.2 kB / 1.374 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/2.396, allocations: 0.6233 MB / 1.375 GB, free: 9.379 MB / 1.029 GB Notification: Performance of SimCode: time 1.803e-06/2.396, allocations: 0 / 1.375 GB, free: 9.379 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0867/2.483, allocations: 41.99 MB / 1.416 GB, free: 1.086 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/2.483, allocations: 259.1 kB / 1.416 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/5.794, allocations: 4 kB / 1.416 GB, free: 0.7578 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)