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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007023/0.007023, allocations: 101.7 kB / 15.73 MB, free: 6.445 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.001735/0.001735, allocations: 193.2 kB / 16.67 MB, free: 6.355 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 67.88 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2819, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.707/0.9889, allocations: 188.5 MB / 1.426 GB, free: 7.039 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009023/0.998, allocations: 6.1 MB / 1.432 GB, free: 2.074 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.9989, allocations: 36.59 kB / 1.432 GB, free: 2.062 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/1, allocations: 0.5063 MB / 1.432 GB, free: 1.641 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/1.004, allocations: 1.895 MB / 1.434 GB, free: 172 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/1.006, allocations: 0.9543 MB / 1.435 GB, free: 15.43 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002543/1.009, allocations: 2.484 MB / 1.438 GB, free: 14 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008983/1.01, allocations: 0.7725 MB / 1.438 GB, free: 13.5 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/1.011, allocations: 1.052 MB / 1.439 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/1.013, allocations: 0.7702 MB / 1.44 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/1.013, allocations: 88 kB / 1.44 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/1.015, allocations: 1.578 MB / 1.442 GB, free: 10.47 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/1.016, allocations: 371 kB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/1.016, allocations: 0.5521 MB / 1.443 GB, free: 9.551 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/1.019, allocations: 1.928 MB / 1.445 GB, free: 7.617 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.019, allocations: 0 / 1.445 GB, free: 7.617 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.342e-06/1.019, allocations: 3.938 kB / 1.445 GB, free: 7.613 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.019, allocations: 4 kB / 1.445 GB, free: 7.609 MB / 1.139 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.002032/1.021, allocations: 1.412 MB / 1.446 GB, free: 6.145 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.021, allocations: 8.031 kB / 1.446 GB, free: 6.137 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/1.021, allocations: 114.5 kB / 1.446 GB, free: 6.016 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.023, allocations: 323.9 kB / 1.446 GB, free: 5.699 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.024, allocations: 0.7891 MB / 1.447 GB, free: 4.867 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/1.024, allocations: 49.31 kB / 1.447 GB, free: 4.82 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.024, allocations: 71.95 kB / 1.447 GB, free: 4.75 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/1.025, allocations: 0.7901 MB / 1.448 GB, free: 3.938 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.025, allocations: 3.938 kB / 1.448 GB, free: 3.934 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/1.026, allocations: 32 kB / 1.448 GB, free: 3.902 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/1.026, allocations: 29.3 kB / 1.448 GB, free: 3.875 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/1.027, allocations: 0.6336 MB / 1.449 GB, free: 3.242 MB / 1.139 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.003792/1.03, allocations: 3.445 MB / 1.452 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/1.031, allocations: 0.4966 MB / 1.453 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/1.032, allocations: 286.9 kB / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/1.032, allocations: 0.677 MB / 1.453 GB, free: 13.87 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.032, allocations: 39 kB / 1.453 GB, free: 13.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=51): time 1.683e-06/1.032, allocations: 0 / 1.453 GB, free: 13.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=51): time 0.001576/1.034, allocations: 0.7797 MB / 1.454 GB, free: 13.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.034, allocations: 63.78 kB / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/1.035, allocations: 0.5941 MB / 1.455 GB, free: 12.36 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/1.035, allocations: 33.7 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/1.035, allocations: 396.8 kB / 1.455 GB, free: 11.92 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.035, allocations: 194.3 kB / 1.455 GB, free: 11.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.035, allocations: 86.25 kB / 1.456 GB, free: 11.64 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.036, allocations: 386.8 kB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/1.036, allocations: 201 kB / 1.456 GB, free: 11.05 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/1.036, allocations: 283.2 kB / 1.456 GB, free: 10.76 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/1.037, allocations: 0.5075 MB / 1.457 GB, free: 10.24 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.037, allocations: 4 kB / 1.457 GB, free: 10.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001025/1.038, allocations: 0.6234 MB / 1.458 GB, free: 9.602 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.038, allocations: 4 kB / 1.458 GB, free: 9.598 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.038, allocations: 4 kB / 1.458 GB, free: 9.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.038, allocations: 8.156 kB / 1.458 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/1.039, allocations: 127.8 kB / 1.458 GB, free: 9.461 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.039, allocations: 11.88 kB / 1.458 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/1.04, allocations: 43.72 kB / 1.458 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/1.04, allocations: 16 kB / 1.458 GB, free: 9.391 MB / 1.154 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.000294/1.04, allocations: 262.1 kB / 1.458 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.04, allocations: 87.98 kB / 1.458 GB, free: 9.039 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.041, allocations: 0.597 MB / 1.459 GB, free: 8.434 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.041, allocations: 8 kB / 1.459 GB, free: 8.426 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.041, allocations: 3.938 kB / 1.459 GB, free: 8.422 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009952/1.042, allocations: 0.8067 MB / 1.459 GB, free: 7.531 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/1.044, allocations: 1.543 MB / 1.461 GB, free: 5.922 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.044, allocations: 3.938 kB / 1.461 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/1.045, allocations: 155.9 kB / 1.461 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.045, allocations: 7.984 kB / 1.461 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/1.045, allocations: 12 kB / 1.461 GB, free: 5.746 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.045, allocations: 7.625 kB / 1.461 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.045, allocations: 3.938 kB / 1.461 GB, free: 5.738 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.047, allocations: 0.9482 MB / 1.462 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.047, allocations: 220.4 kB / 1.462 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/1.047, allocations: 12 kB / 1.462 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/1.047, allocations: 26.42 kB / 1.462 GB, free: 4.496 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/1.048, allocations: 40.33 kB / 1.462 GB, free: 4.457 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/1.048, allocations: 19.98 kB / 1.462 GB, free: 4.438 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004602/1.048, allocations: 427 kB / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.048, allocations: 0 / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00063/1.049, allocations: 287.4 kB / 1.463 GB, free: 3.742 MB / 1.154 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.002/1.051, allocations: 1.591 MB / 1.465 GB, free: 2.125 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008776/1.052, allocations: 0.5015 MB / 1.465 GB, free: 1.621 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.052, allocations: 0 / 1.465 GB, free: 1.621 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004337/1.052, allocations: 274.3 kB / 1.465 GB, free: 1.355 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.054, allocations: 0.4886 MB / 1.466 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/1.062, allocations: 5.997 MB / 1.472 GB, free: 10.74 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/1.062, allocations: 1.024 MB / 1.473 GB, free: 9.691 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005521/1.063, allocations: 186.1 kB / 1.473 GB, free: 9.508 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/1.063, allocations: 311.3 kB / 1.473 GB, free: 9.203 MB / 1.17 GB Notification: Performance of SimCode: time 4.61e-07/1.063, allocations: 0 / 1.473 GB, free: 9.203 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.507/2.571, allocations: 21.98 MB / 1.495 GB, free: 3.578 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/17.44, allocations: 2.375 kB / 1.495 GB, free: 3.578 MB / 1.186 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=400 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)