Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_10_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.01565/0.01565, 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.01188/0.01188, allocations: 192.9 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 18.9/18.9, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 28.99/28.99, allocations: 437.1 MB / 0.7104 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 67.88 kB / 0.8694 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7211, allocations: 151.6 MB / 1.017 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.5371/1.258, allocations: 188.4 MB / 1.201 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009457/1.268, allocations: 6.082 MB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/1.269, allocations: 35.81 kB / 1.207 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/1.27, allocations: 0.5048 MB / 1.208 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/1.275, allocations: 1.898 MB / 1.21 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/1.277, allocations: 0.9431 MB / 1.211 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003141/1.28, allocations: 2.49 MB / 1.213 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/1.281, allocations: 0.772 MB / 1.214 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/1.283, allocations: 0.8522 MB / 1.215 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01726/1.3, allocations: 0.7786 MB / 1.215 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/1.3, allocations: 92 kB / 1.216 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/1.303, allocations: 1.594 MB / 1.217 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/1.304, allocations: 359 kB / 1.217 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006894/1.305, allocations: 0.5522 MB / 1.218 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/1.307, allocations: 1.897 MB / 1.22 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.307, allocations: 0 / 1.22 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/1.307, allocations: 4 kB / 1.22 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.307, allocations: 0 / 1.22 GB, free: 2.379 MB / 0.9669 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.002476/1.31, allocations: 1.386 MB / 1.221 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.31, allocations: 8.031 kB / 1.221 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/1.31, allocations: 114.5 kB / 1.221 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/1.312, allocations: 322.4 kB / 1.222 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.313, allocations: 0.73 MB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/1.313, allocations: 57.3 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.313, allocations: 67.91 kB / 1.222 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.315, allocations: 0.79 MB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.315, allocations: 0 / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/1.315, allocations: 28 kB / 1.223 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/1.315, allocations: 33.3 kB / 1.223 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/1.316, allocations: 0.6414 MB / 1.224 GB, free: 14.08 MB / 0.9825 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.003843/1.32, allocations: 3.386 MB / 1.227 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/1.321, allocations: 0.4944 MB / 1.228 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/1.321, allocations: 290.6 kB / 1.228 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/1.322, allocations: 0.6731 MB / 1.229 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.322, allocations: 43 kB / 1.229 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=51): time 1.413e-06/1.322, allocations: 0 / 1.229 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51): time 0.001549/1.324, allocations: 0.7637 MB / 1.229 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.324, allocations: 67.78 kB / 1.229 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/1.324, allocations: 0.5941 MB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/1.324, allocations: 33.7 kB / 1.23 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/1.325, allocations: 388.2 kB / 1.23 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/1.325, allocations: 181.3 kB / 1.231 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.325, allocations: 94.23 kB / 1.231 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.325, allocations: 378.8 kB / 1.231 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/1.326, allocations: 216.9 kB / 1.231 GB, free: 6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/1.326, allocations: 275.2 kB / 1.232 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/1.327, allocations: 0.5152 MB / 1.232 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.327, allocations: 4 kB / 1.232 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001092/1.328, allocations: 0.6192 MB / 1.233 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.328, allocations: 7.938 kB / 1.233 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.328, allocations: 7.984 kB / 1.233 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.328, allocations: 4 kB / 1.233 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/1.329, allocations: 131.7 kB / 1.233 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.329, allocations: 4 kB / 1.233 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/1.329, allocations: 51.64 kB / 1.233 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/1.329, allocations: 19.98 kB / 1.233 GB, free: 4.328 MB / 0.9825 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.0003683/1.33, allocations: 257.7 kB / 1.233 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/1.33, allocations: 75.16 kB / 1.233 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/1.331, allocations: 0.5893 MB / 1.234 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.331, allocations: 15.88 kB / 1.234 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.331, allocations: 0 / 1.234 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/1.332, allocations: 0.8184 MB / 1.235 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/1.335, allocations: 1.55 MB / 1.236 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.335, allocations: 0 / 1.236 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/1.336, allocations: 151.8 kB / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/1.336, allocations: 4 kB / 1.236 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.336, allocations: 12 kB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.336, allocations: 4 kB / 1.236 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.336, allocations: 3.984 kB / 1.236 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.338, allocations: 0.9471 MB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/1.338, allocations: 216 kB / 1.237 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/1.338, allocations: 15.98 kB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/1.339, allocations: 27.92 kB / 1.237 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.339, allocations: 32.39 kB / 1.237 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/1.339, allocations: 19.98 kB / 1.237 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005538/1.339, allocations: 427 kB / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.339, allocations: 0 / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008184/1.34, allocations: 267.4 kB / 1.238 GB, free: 14.71 MB / 0.9981 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.00229/1.343, allocations: 1.602 MB / 1.24 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.344, allocations: 0.5756 MB / 1.24 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.344, allocations: 0 / 1.24 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/1.344, allocations: 274.8 kB / 1.241 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.346, allocations: 0.4904 MB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009591/1.356, allocations: 6.152 MB / 1.247 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/1.357, allocations: 1.024 MB / 1.248 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000826/1.358, allocations: 182.1 kB / 1.248 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/1.358, allocations: 303.3 kB / 1.248 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.358, allocations: 4 kB / 1.249 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.124/2.482, allocations: 21.82 MB / 1.27 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.92/11.4, allocations: 7.094 kB / 1.27 GB, free: 230.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)