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.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.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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001377/0.001377, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.78/1.78, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.983/2.983, allocations: 437 MB / 0.71 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.00179, allocations: 71.88 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9831/0.9849, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2581/1.243, allocations: 185 MB / 1.197 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03267/1.276, allocations: 16.05 MB / 1.213 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/1.279, allocations: 39.75 kB / 1.213 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/1.282, allocations: 0.6098 MB / 1.214 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008158/1.29, allocations: 2.062 MB / 1.216 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006095/1.296, allocations: 1.614 MB / 1.217 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007229/1.303, allocations: 4.341 MB / 1.222 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004507/1.308, allocations: 1.735 MB / 1.223 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006495/1.314, allocations: 1.314 MB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/1.318, allocations: 1.251 MB / 1.226 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009273/1.319, allocations: 108 kB / 1.226 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005811/1.324, allocations: 2.074 MB / 1.228 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/1.326, allocations: 0.5488 MB / 1.228 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002746/1.329, allocations: 1.034 MB / 1.229 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/1.336, allocations: 3.501 MB / 1.233 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.336, allocations: 0 / 1.233 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.747e-06/1.337, allocations: 0 / 1.233 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001273/1.337, allocations: 7.938 kB / 1.233 GB, free: 4.719 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.007856/1.344, allocations: 2.542 MB / 1.235 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.345, allocations: 8.031 kB / 1.235 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006808/1.345, allocations: 244.6 kB / 1.236 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/1.349, allocations: 0.5126 MB / 1.236 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/1.353, allocations: 1.275 MB / 1.237 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/1.353, allocations: 123.3 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/1.353, allocations: 160 kB / 1.238 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/1.358, allocations: 1.852 MB / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/1.358, allocations: 15.91 kB / 1.239 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/1.358, allocations: 68 kB / 1.239 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.338e-05/1.358, allocations: 67.14 kB / 1.239 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/1.362, allocations: 1.87 MB / 1.241 GB, free: 11.78 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.01123/1.373, allocations: 6.545 MB / 1.248 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/1.376, allocations: 1.593 MB / 1.249 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.377, allocations: 0.6476 MB / 1.25 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007894/1.378, allocations: 0.6259 MB / 1.251 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/1.38, allocations: 0.8645 MB / 1.251 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=142): time 5.521e-06/1.38, allocations: 0 / 1.251 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142): time 0.9307/2.311, allocations: 2.326 MB / 1.254 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/2.311, allocations: 196.9 kB / 1.254 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/2.313, allocations: 1.099 MB / 1.255 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/2.313, allocations: 54.3 kB / 1.255 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008389/2.314, allocations: 0.7153 MB / 1.256 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/2.315, allocations: 479 kB / 1.256 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/2.315, allocations: 240.3 kB / 1.256 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/2.315, allocations: 359.1 kB / 1.257 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/2.316, allocations: 483 kB / 1.257 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/2.318, allocations: 0.6561 MB / 1.258 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/2.32, allocations: 1.155 MB / 1.259 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/2.32, allocations: 0.9688 kB / 1.259 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004477/2.325, allocations: 1.517 MB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/2.325, allocations: 6.094 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/2.325, allocations: 4.594 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008881/2.326, allocations: 142.6 kB / 1.261 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/2.327, allocations: 299 kB / 1.261 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/2.331, allocations: 4.227 MB / 1.265 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/2.333, allocations: 183.7 kB / 1.265 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/2.333, allocations: 53.5 kB / 1.265 GB, free: 224.9 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.001075/2.334, allocations: 413.7 kB / 1.266 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004803/2.334, allocations: 155.2 kB / 1.266 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/2.339, allocations: 1.812 MB / 1.267 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/2.34, allocations: 15.89 kB / 1.267 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/2.34, allocations: 1.125 kB / 1.267 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003321/2.343, allocations: 1.478 MB / 1.269 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/2.35, allocations: 3.491 MB / 1.272 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/2.35, allocations: 0 / 1.272 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/2.351, allocations: 294.2 kB / 1.273 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/2.352, allocations: 144.2 kB / 1.273 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/2.352, allocations: 49.11 kB / 1.273 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/2.355, allocations: 4.217 MB / 1.277 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.355, allocations: 3.938 kB / 1.277 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/2.361, allocations: 2.442 MB / 1.279 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/2.362, allocations: 426 kB / 1.28 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/2.362, allocations: 33.75 kB / 1.28 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/2.363, allocations: 135.8 kB / 1.28 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/2.364, allocations: 118.4 kB / 1.28 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/2.364, allocations: 64.72 kB / 1.28 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001266/2.365, allocations: 0.7538 MB / 1.281 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/2.365, allocations: 0 / 1.281 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002048/2.367, allocations: 0.6444 MB / 1.281 GB, free: 215.7 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.006501/2.374, allocations: 3.633 MB / 1.285 GB, free: 214 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002663/2.376, allocations: 1.625 MB / 1.287 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/2.376, allocations: 448 / 1.287 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/2.378, allocations: 1.077 MB / 1.288 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/2.381, allocations: 0.6736 MB / 1.288 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/2.4, allocations: 12.94 MB / 1.301 GB, free: 202 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/2.401, allocations: 1.386 MB / 1.302 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001828/2.402, allocations: 476.5 kB / 1.303 GB, free: 200.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/2.403, allocations: 0.7218 MB / 1.303 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/2.403, allocations: 0 / 1.303 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/2.473, allocations: 41.97 MB / 1.344 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/2.473, allocations: 290.7 kB / 1.345 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.466/5.939, allocations: 7.938 kB / 1.345 GB, free: 157.6 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)