Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.001467/0.001468, allocations: 108 kB / 15.61 MB, free: 152 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.002161/0.002161, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.734/1.734, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.256/3.256, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.27 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4561, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.229/0.6852, allocations: 188.4 MB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.697, allocations: 6.087 MB / 1.243 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.6996, allocations: 39.75 kB / 1.243 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.7016, allocations: 0.5087 MB / 1.243 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.7082, allocations: 1.898 MB / 1.245 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.711, allocations: 0.941 MB / 1.246 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 1.059/1.771, allocations: 2.484 MB / 1.249 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/1.773, allocations: 0.7688 MB / 1.249 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/1.775, allocations: 0.8572 MB / 1.25 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/1.778, allocations: 0.7768 MB / 1.251 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/1.778, allocations: 89.09 kB / 1.251 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/1.783, allocations: 1.583 MB / 1.253 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000623/1.783, allocations: 371 kB / 1.253 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/1.785, allocations: 0.5463 MB / 1.253 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005425/1.79, allocations: 1.904 MB / 1.255 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.79, allocations: 0 / 1.255 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.79, allocations: 1.031 kB / 1.255 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.106e-05/1.79, allocations: 0 / 1.255 GB, free: 4.406 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003176/1.793, allocations: 1.377 MB / 1.257 GB, free: 19.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/1.793, allocations: 9.469 kB / 1.257 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/1.793, allocations: 113.3 kB / 1.257 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/1.796, allocations: 319.4 kB / 1.257 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.797, allocations: 0.7431 MB / 1.258 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/1.797, allocations: 48.34 kB / 1.258 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.797, allocations: 72.7 kB / 1.258 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.799, allocations: 0.7902 MB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/1.799, allocations: 0.8125 kB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/1.799, allocations: 26.81 kB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/1.799, allocations: 34.39 kB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/1.8, allocations: 0.6351 MB / 1.259 GB, free: 19.18 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.005016/1.805, allocations: 3.39 MB / 1.263 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/1.806, allocations: 0.4943 MB / 1.263 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/1.807, allocations: 286.6 kB / 1.263 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/1.808, allocations: 0.6763 MB / 1.264 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/1.808, allocations: 42.39 kB / 1.264 GB, free: 16.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=51): time 3.156e-06/1.808, allocations: 1.562 kB / 1.264 GB, free: 16.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=51): time 0.002269/1.81, allocations: 0.7728 MB / 1.265 GB, free: 16.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/1.81, allocations: 57.03 kB / 1.265 GB, free: 16.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.811, allocations: 0.5933 MB / 1.265 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/1.811, allocations: 36.58 kB / 1.266 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/1.812, allocations: 389.4 kB / 1.266 GB, free: 16.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/1.812, allocations: 185.2 kB / 1.266 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/1.812, allocations: 92.84 kB / 1.266 GB, free: 15.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002296/1.813, allocations: 382.3 kB / 1.267 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/1.813, allocations: 206.5 kB / 1.267 GB, free: 15.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/1.814, allocations: 284 kB / 1.267 GB, free: 15.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.815, allocations: 0.5091 MB / 1.268 GB, free: 15.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.815, allocations: 0 / 1.268 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001475/1.816, allocations: 0.6222 MB / 1.268 GB, free: 15.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.816, allocations: 9.453 kB / 1.268 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.816, allocations: 2.125 kB / 1.268 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/1.816, allocations: 9.047 kB / 1.268 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/1.817, allocations: 130.3 kB / 1.268 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/1.817, allocations: 6.625 kB / 1.268 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/1.818, allocations: 45.2 kB / 1.268 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/1.818, allocations: 18.98 kB / 1.268 GB, free: 15.35 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0005335/1.819, allocations: 258.3 kB / 1.269 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.819, allocations: 76.56 kB / 1.269 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/1.82, allocations: 0.5963 MB / 1.269 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.82, allocations: 5.469 kB / 1.269 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.82, allocations: 0 / 1.269 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/1.821, allocations: 0.8147 MB / 1.27 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/1.825, allocations: 1.553 MB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.825, allocations: 1.062 kB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.826, allocations: 158.6 kB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/1.826, allocations: 2.875 kB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/1.826, allocations: 15.22 kB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/1.826, allocations: 2.812 kB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.826, allocations: 2.188 kB / 1.272 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/1.829, allocations: 0.9494 MB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/1.829, allocations: 213.2 kB / 1.273 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/1.829, allocations: 13.89 kB / 1.273 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/1.83, allocations: 26.36 kB / 1.273 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.83, allocations: 31.25 kB / 1.273 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/1.83, allocations: 24.31 kB / 1.273 GB, free: 13.99 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000909/1.831, allocations: 430.2 kB / 1.273 GB, free: 13.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.831, allocations: 1 kB / 1.273 GB, free: 13.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001453/1.833, allocations: 273.7 kB / 1.274 GB, free: 13.86 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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 Backend phase and start with SimCode phase: time 0.003313/1.836, allocations: 1.603 MB / 1.275 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.838, allocations: 0.5754 MB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.838, allocations: 2.031 kB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005785/1.839, allocations: 274.1 kB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/1.842, allocations: 494.7 kB / 1.276 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.857, allocations: 6.157 MB / 1.282 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.858, allocations: 1.025 MB / 1.283 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001379/1.86, allocations: 185.6 kB / 1.284 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/1.86, allocations: 307.2 kB / 1.284 GB, free: 10.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.563e-06/1.86, allocations: 0 / 1.284 GB, free: 10.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06741/1.928, allocations: 21.82 MB / 1.305 GB, free: 8.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/10.38, allocations: 12.12 kB / 1.305 GB, free: 8.543 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)