Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.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.PressurizationData,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData",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.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001136/0.001136, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.233/2.233, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 75.89 kB / 0.8689 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4939, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.164/0.658, allocations: 184.8 MB / 1.197 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.6757, allocations: 15.82 MB / 1.213 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.6772, allocations: 35.81 kB / 1.213 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.6788, allocations: 0.6176 MB / 1.213 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.6835, allocations: 2.089 MB / 1.216 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.6869, allocations: 1.651 MB / 1.217 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003342/0.6902, allocations: 3.62 MB / 1.221 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.6921, allocations: 1.917 MB / 1.223 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.695, allocations: 1.495 MB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.6963, allocations: 1.296 MB / 1.225 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.6966, allocations: 216 kB / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.6991, allocations: 1.984 MB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.6996, allocations: 0.6426 MB / 1.228 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.7005, allocations: 1.147 MB / 1.229 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.7035, allocations: 3.591 MB / 1.233 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7035, allocations: 4 kB / 1.233 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7035, allocations: 0 / 1.233 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.7036, allocations: 0 / 1.233 GB, free: 4.98 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003639/0.7072, allocations: 2.547 MB / 1.235 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.7072, allocations: 12.03 kB / 1.235 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/0.7075, allocations: 244.6 kB / 1.235 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.7105, allocations: 0.5126 MB / 1.236 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.7121, allocations: 1.267 MB / 1.237 GB, free: 276 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.7122, allocations: 135.3 kB / 1.237 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.7124, allocations: 160.1 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.7151, allocations: 1.856 MB / 1.239 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.7151, allocations: 7.938 kB / 1.239 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.7153, allocations: 75.98 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.7153, allocations: 63.16 kB / 1.239 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.7181, allocations: 1.87 MB / 1.241 GB, free: 12.02 MB / 0.9981 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.006967/0.7251, allocations: 6.541 MB / 1.248 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.7274, allocations: 1.594 MB / 1.249 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009665/0.7284, allocations: 0.6437 MB / 1.25 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.729, allocations: 0.6259 MB / 1.25 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.7303, allocations: 0.872 MB / 1.251 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=142): time 2.575e-06/0.7304, allocations: 0 / 1.251 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142): time 0.4038/1.134, allocations: 2.323 MB / 1.254 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/1.134, allocations: 197.2 kB / 1.254 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.136, allocations: 1.1 MB / 1.255 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/1.136, allocations: 55.17 kB / 1.255 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005977/1.137, allocations: 0.7152 MB / 1.256 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/1.137, allocations: 472 kB / 1.256 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/1.138, allocations: 245.8 kB / 1.256 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/1.138, allocations: 357.8 kB / 1.257 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/1.139, allocations: 487.8 kB / 1.257 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000993/1.14, allocations: 0.6618 MB / 1.258 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/1.141, allocations: 1.151 MB / 1.259 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.141, allocations: 1.219 kB / 1.259 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002924/1.144, allocations: 1.515 MB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.144, allocations: 9.047 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.144, allocations: 1.969 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007406/1.145, allocations: 146.3 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.146, allocations: 298.1 kB / 1.261 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4413/1.588, allocations: 4.55 MB / 1.265 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.59, allocations: 174.8 kB / 1.265 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.59, allocations: 56.25 kB / 1.265 GB, free: 224.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000712/1.59, allocations: 421.1 kB / 1.266 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/1.591, allocations: 159 kB / 1.266 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/1.595, allocations: 1.81 MB / 1.268 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.595, allocations: 14.91 kB / 1.268 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.595, allocations: 1.062 kB / 1.268 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002725/1.597, allocations: 1.479 MB / 1.269 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004934/1.602, allocations: 3.493 MB / 1.273 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.602, allocations: 0 / 1.273 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.604, allocations: 298.4 kB / 1.273 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/1.604, allocations: 130.5 kB / 1.273 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/1.604, allocations: 44.45 kB / 1.273 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/1.607, allocations: 4.547 MB / 1.277 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.607, allocations: 2.047 kB / 1.277 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/1.611, allocations: 2.436 MB / 1.28 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/1.611, allocations: 431 kB / 1.28 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/1.611, allocations: 36.5 kB / 1.28 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.613, allocations: 128.2 kB / 1.28 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.613, allocations: 112.6 kB / 1.281 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.613, allocations: 62.34 kB / 1.281 GB, free: 215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008243/1.614, allocations: 0.7567 MB / 1.281 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.614, allocations: 0 / 1.281 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001284/1.615, allocations: 0.6394 MB / 1.282 GB, free: 214.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005131/1.62, allocations: 3.648 MB / 1.285 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003714/1.624, allocations: 2.143 MB / 1.288 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.624, allocations: 4.406 kB / 1.288 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.625, allocations: 1.073 MB / 1.289 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.627, allocations: 0.708 MB / 1.289 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.642, allocations: 12.94 MB / 1.302 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/1.643, allocations: 1.387 MB / 1.303 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001356/1.644, allocations: 480.5 kB / 1.304 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/1.645, allocations: 0.7296 MB / 1.304 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.645, allocations: 0 / 1.304 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.166/3.81, allocations: 43.16 MB / 1.347 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/3.811, allocations: 290.9 kB / 1.347 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/6.663, allocations: 0 / 1.347 GB, free: 154.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)