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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008519/0.000852, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.00502/0.00502, allocations: 170 kB / 16.27 MB, free: 6.324 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.308/2.308, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8.281 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4929, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1574/0.6503, allocations: 183.7 MB / 1.203 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007712/0.658, allocations: 6.097 MB / 1.208 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006999/0.6588, allocations: 27.81 kB / 1.209 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009916/0.6598, allocations: 457.7 kB / 1.209 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.6632, allocations: 1.774 MB / 1.211 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.6649, allocations: 0.858 MB / 1.212 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.6678, allocations: 3.411 MB / 1.215 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007205/0.6685, allocations: 0.6366 MB / 1.215 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009322/0.6695, allocations: 0.7156 MB / 1.216 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.6708, allocations: 0.768 MB / 1.217 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.6709, allocations: 40 kB / 1.217 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.6734, allocations: 1.827 MB / 1.219 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.6737, allocations: 311 kB / 1.219 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.6741, allocations: 0.5108 MB / 1.22 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.6759, allocations: 1.943 MB / 1.221 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.676, allocations: 0 / 1.221 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.676, allocations: 0 / 1.221 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.676, allocations: 0 / 1.221 GB, free: 4.043 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.001713/0.6777, allocations: 1.203 MB / 1.223 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6777, allocations: 8.031 kB / 1.223 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.6779, allocations: 110.5 kB / 1.223 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.6797, allocations: 318.5 kB / 1.223 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.6807, allocations: 0.7455 MB / 1.224 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.6807, allocations: 53.3 kB / 1.224 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.6808, allocations: 64 kB / 1.224 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.682, allocations: 0.7979 MB / 1.225 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.682, allocations: 0 / 1.225 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.6821, allocations: 28 kB / 1.225 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.6821, allocations: 33.3 kB / 1.225 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.6832, allocations: 0.6492 MB / 1.225 GB, free: 15.92 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.003272/0.6865, allocations: 3.378 MB / 1.229 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.6873, allocations: 0.4966 MB / 1.229 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.6877, allocations: 302 kB / 1.229 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.6882, allocations: 0.6847 MB / 1.23 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.6883, allocations: 39 kB / 1.23 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=51): time 1.543e-06/0.6883, allocations: 0 / 1.23 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51): time 0.001475/0.6898, allocations: 0.7911 MB / 1.231 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.6898, allocations: 59.78 kB / 1.231 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.6904, allocations: 0.5941 MB / 1.232 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.6904, allocations: 41.7 kB / 1.232 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.6907, allocations: 388.2 kB / 1.232 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.6908, allocations: 185.3 kB / 1.232 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.6909, allocations: 49.69 kB / 1.232 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.691, allocations: 374.8 kB / 1.233 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.6914, allocations: 224.9 kB / 1.233 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.6918, allocations: 283.2 kB / 1.233 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.6926, allocations: 0.5231 MB / 1.234 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6926, allocations: 0 / 1.234 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000961/0.6936, allocations: 0.6387 MB / 1.234 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.6936, allocations: 4 kB / 1.234 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6936, allocations: 4 kB / 1.234 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6936, allocations: 0 / 1.234 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.6942, allocations: 151.8 kB / 1.234 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6942, allocations: 4 kB / 1.234 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.6949, allocations: 87.48 kB / 1.234 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.695, allocations: 16 kB / 1.234 GB, free: 6.086 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.0002707/0.6952, allocations: 259.2 kB / 1.235 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.6954, allocations: 79.06 kB / 1.235 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.6964, allocations: 0.6049 MB / 1.235 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6964, allocations: 15.92 kB / 1.235 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6964, allocations: 0 / 1.235 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008803/0.6973, allocations: 0.8262 MB / 1.236 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.6993, allocations: 1.561 MB / 1.238 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6993, allocations: 7.938 kB / 1.238 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.7001, allocations: 167.9 kB / 1.238 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7001, allocations: 4 kB / 1.238 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.7001, allocations: 11.98 kB / 1.238 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7001, allocations: 8 kB / 1.238 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7001, allocations: 3.984 kB / 1.238 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.7014, allocations: 0.9744 MB / 1.239 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.7017, allocations: 220 kB / 1.239 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.7018, allocations: 8 kB / 1.239 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.7024, allocations: 57.12 kB / 1.239 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.7025, allocations: 32.39 kB / 1.239 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.7025, allocations: 19.98 kB / 1.239 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004449/0.703, allocations: 431 kB / 1.24 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.703, allocations: 0 / 1.24 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006108/0.7036, allocations: 279.3 kB / 1.24 GB, free: 352 kB / 0.9825 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.001834/0.7055, allocations: 1.635 MB / 1.241 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.7063, allocations: 0.5171 MB / 1.242 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7063, allocations: 4 kB / 1.242 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.7067, allocations: 278.8 kB / 1.242 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.7088, allocations: 463.8 kB / 1.243 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/0.7165, allocations: 6.635 MB / 1.249 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.7171, allocations: 1.024 MB / 1.25 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006216/0.7177, allocations: 182.4 kB / 1.25 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.7181, allocations: 307.3 kB / 1.251 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.7181, allocations: 0 / 1.251 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.419/1.137, allocations: 20.73 MB / 1.271 GB, free: 228 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/1.137, allocations: 262.4 kB / 1.271 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/3.199, allocations: 1.094 kB / 1.271 GB, free: 227.7 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=50 --tolerance=1e-08 Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)