Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_10_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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5255, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2037/0.7292, allocations: 235.9 MB / 1.248 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4824/1.212, allocations: 10.4 MB / 1.258 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/1.214, allocations: 60.28 kB / 1.258 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/1.216, allocations: 1.184 MB / 1.259 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00896/1.225, allocations: 3.665 MB / 1.263 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005495/1.231, allocations: 2.053 MB / 1.265 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006023/1.237, allocations: 4.447 MB / 1.269 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/1.239, allocations: 1.57 MB / 1.271 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/1.242, allocations: 1.596 MB / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/1.244, allocations: 1.504 MB / 1.274 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002655/1.244, allocations: 184 kB / 1.274 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005857/1.25, allocations: 3.234 MB / 1.277 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006305/1.251, allocations: 0.6965 MB / 1.278 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.252, allocations: 1.065 MB / 1.279 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004796/1.257, allocations: 3.781 MB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.257, allocations: 0 / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.257, allocations: 4.125 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.257, allocations: 0 / 1.282 GB, free: 1.527 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.004431/1.261, allocations: 2.477 MB / 1.285 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/1.261, allocations: 9.625 kB / 1.285 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/1.262, allocations: 210.6 kB / 1.285 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.265, allocations: 0.5225 MB / 1.286 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/1.266, allocations: 1.23 MB / 1.287 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/1.266, allocations: 103.7 kB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/1.266, allocations: 135.2 kB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/1.269, allocations: 1.67 MB / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/1.269, allocations: 1.875 kB / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.269, allocations: 61.39 kB / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/1.269, allocations: 70.06 kB / 1.289 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/1.271, allocations: 1.445 MB / 1.29 GB, free: 15.59 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.00673/1.278, allocations: 7.027 MB / 1.297 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.279, allocations: 1.199 MB / 1.298 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/1.28, allocations: 0.6109 MB / 1.299 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/1.281, allocations: 0.8584 MB / 1.3 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008269/1.282, allocations: 0.6094 MB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/1.282, allocations: 0.7812 kB / 1.3 GB, free: 11 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.002625/1.284, allocations: 1.567 MB / 1.302 GB, free: 10.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/1.284, allocations: 93.64 kB / 1.302 GB, free: 10.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.286, allocations: 1.197 MB / 1.303 GB, free: 10.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/1.286, allocations: 50.36 kB / 1.303 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.286, allocations: 0.6729 MB / 1.304 GB, free: 10.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.286, allocations: 384.3 kB / 1.304 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/1.287, allocations: 179.9 kB / 1.304 GB, free: 10.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.287, allocations: 344.5 kB / 1.305 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/1.287, allocations: 427.7 kB / 1.305 GB, free: 9.785 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/1.288, allocations: 0.5554 MB / 1.305 GB, free: 9.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.289, allocations: 1.017 MB / 1.306 GB, free: 9.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.289, allocations: 0 / 1.306 GB, free: 9.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001749/1.291, allocations: 1.217 MB / 1.308 GB, free: 9.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.291, allocations: 5.906 kB / 1.308 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.291, allocations: 1.781 kB / 1.308 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.291, allocations: 6.5 kB / 1.308 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/1.292, allocations: 227.1 kB / 1.308 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.292, allocations: 9.562 kB / 1.308 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.293, allocations: 99.48 kB / 1.308 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/1.293, allocations: 39.25 kB / 1.308 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009241/1.294, allocations: 0.7407 MB / 1.309 GB, free: 9.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006806/1.295, allocations: 0.537 MB / 1.309 GB, free: 9.242 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/1.296, allocations: 0.9914 MB / 1.31 GB, free: 9.141 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.296, allocations: 3.531 kB / 1.31 GB, free: 9.141 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001671/1.298, allocations: 1.198 MB / 1.311 GB, free: 9.012 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.298, allocations: 8.75 kB / 1.311 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.298, allocations: 4.406 kB / 1.311 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/1.298, allocations: 5.156 kB / 1.311 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/1.299, allocations: 211.5 kB / 1.312 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/1.299, allocations: 16.34 kB / 1.312 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/1.3, allocations: 75.94 kB / 1.312 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/1.3, allocations: 32.84 kB / 1.312 GB, free: 8.973 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.0002282/1.3, allocations: 241.1 kB / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.3, allocations: 155.7 kB / 1.312 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/1.302, allocations: 1.241 MB / 1.313 GB, free: 8.617 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.302, allocations: 14.12 kB / 1.313 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.302, allocations: 0.6875 kB / 1.313 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/1.304, allocations: 1.01 MB / 1.314 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/1.308, allocations: 3.171 MB / 1.317 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.308, allocations: 6.5 kB / 1.317 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.309, allocations: 225.8 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/1.309, allocations: 6.75 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/1.309, allocations: 33.09 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.309, allocations: 7.562 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.309, allocations: 2.625 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/1.312, allocations: 1.913 MB / 1.32 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/1.312, allocations: 355.3 kB / 1.32 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.312, allocations: 28.62 kB / 1.32 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/1.313, allocations: 37.78 kB / 1.32 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.313, allocations: 76.33 kB / 1.32 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/1.313, allocations: 39.12 kB / 1.32 GB, free: 7.395 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000918/1.314, allocations: 0.8269 MB / 1.321 GB, free: 7.285 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.314, allocations: 3.188 kB / 1.321 GB, free: 7.285 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001805/1.316, allocations: 0.836 MB / 1.322 GB, free: 7.168 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.004064/1.32, allocations: 2.938 MB / 1.325 GB, free: 6.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003129/1.323, allocations: 1.872 MB / 1.326 GB, free: 6.168 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.323, allocations: 0 / 1.326 GB, free: 6.168 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007914/1.324, allocations: 0.5636 MB / 1.327 GB, free: 6.164 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/1.328, allocations: 0.8706 MB / 1.328 GB, free: 6.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.344, allocations: 12.04 MB / 1.34 GB, free: 1.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009702/1.345, allocations: 1.366 MB / 1.341 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001815/1.347, allocations: 451.4 kB / 1.341 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/1.348, allocations: 0.6257 MB / 1.342 GB, free: 256 kB / 1.014 GB Notification: Performance of SimCode: time 9.11e-07/1.348, allocations: 4 kB / 1.342 GB, free: 252 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.391/4.739, allocations: 42.31 MB / 1.383 GB, free: 0.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/19.33, allocations: 2.922 kB / 1.383 GB, free: 0.668 MB / 1.045 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)