Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.00118/0.00118, allocations: 108 kB / 15.61 MB, free: 152 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.001154/0.001154, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4666, allocations: 140.4 MB / 0.9497 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1482/0.6149, allocations: 166.9 MB / 1.113 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.6252, allocations: 8.499 MB / 1.121 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6263, allocations: 39.81 kB / 1.121 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.6277, allocations: 0.5589 MB / 1.122 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.6308, allocations: 1.542 MB / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.6328, allocations: 0.9973 MB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003493/0.6363, allocations: 4.098 MB / 1.128 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.6375, allocations: 1.315 MB / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.6395, allocations: 1.501 MB / 1.131 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.6409, allocations: 1.507 MB / 1.132 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.6412, allocations: 188 kB / 1.132 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.643, allocations: 1.1 MB / 1.134 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.6435, allocations: 0.67 MB / 1.134 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008291/0.6443, allocations: 1.038 MB / 1.135 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.6467, allocations: 2.73 MB / 1.138 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6467, allocations: 0 / 1.138 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6467, allocations: 4 kB / 1.138 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.6467, allocations: 0 / 1.138 GB, free: 0.5664 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003675/0.6504, allocations: 2.258 MB / 1.14 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6504, allocations: 12.03 kB / 1.14 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.6507, allocations: 227.8 kB / 1.14 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.6511, allocations: 194.7 kB / 1.141 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.6526, allocations: 1.142 MB / 1.142 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.6527, allocations: 115 kB / 1.142 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.6529, allocations: 147.9 kB / 1.142 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.6554, allocations: 1.931 MB / 1.144 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.6555, allocations: 4 kB / 1.144 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.6556, allocations: 60 kB / 1.144 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.6557, allocations: 36 kB / 1.144 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.6591, allocations: 2.475 MB / 1.146 GB, free: 7.82 MB / 0.9044 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.006751/0.6658, allocations: 6.155 MB / 1.152 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/0.6691, allocations: 2.79 MB / 1.155 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.6709, allocations: 1.417 MB / 1.156 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.6723, allocations: 1.734 MB / 1.158 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.6724, allocations: 56.56 kB / 1.158 GB, free: 10.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 3.085e-06/0.6724, allocations: 3.938 kB / 1.158 GB, free: 10.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.004882/0.6773, allocations: 3.438 MB / 1.162 GB, free: 7.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.6773, allocations: 77.41 kB / 1.162 GB, free: 7.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.6782, allocations: 0.7743 MB / 1.162 GB, free: 6.551 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.666e-05/0.6783, allocations: 65.7 kB / 1.162 GB, free: 6.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.6786, allocations: 490.2 kB / 1.163 GB, free: 5.992 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.6791, allocations: 0.7969 MB / 1.164 GB, free: 5.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.6795, allocations: 343.6 kB / 1.164 GB, free: 4.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.6796, allocations: 309.1 kB / 1.164 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.6809, allocations: 0.898 MB / 1.165 GB, free: 3.633 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.6824, allocations: 1.129 MB / 1.166 GB, free: 2.441 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.6854, allocations: 2.219 MB / 1.168 GB, free: 184 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6854, allocations: 8 kB / 1.168 GB, free: 176 kB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003438/0.6888, allocations: 2.429 MB / 1.171 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6889, allocations: 16.03 kB / 1.171 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6889, allocations: 4 kB / 1.171 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6889, allocations: 12 kB / 1.171 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.6904, allocations: 435.4 kB / 1.171 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.6904, allocations: 12 kB / 1.171 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.6913, allocations: 154.4 kB / 1.171 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.6914, allocations: 71.98 kB / 1.171 GB, free: 13.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005233/0.6919, allocations: 449.2 kB / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.6922, allocations: 150.2 kB / 1.172 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.6962, allocations: 2.717 MB / 1.175 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6962, allocations: 24 kB / 1.175 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6962, allocations: 4 kB / 1.175 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003088/0.6993, allocations: 2.377 MB / 1.177 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.7046, allocations: 4.298 MB / 1.181 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.7047, allocations: 0 / 1.181 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.7061, allocations: 407.4 kB / 1.182 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.7066, allocations: 105.7 kB / 1.182 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.7067, allocations: 51.98 kB / 1.182 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000626/0.7074, allocations: 1.116 MB / 1.183 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7074, allocations: 0 / 1.183 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/0.7127, allocations: 4.069 MB / 1.187 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/0.7133, allocations: 478.6 kB / 1.187 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.7135, allocations: 44 kB / 1.187 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.7142, allocations: 51.98 kB / 1.187 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.7145, allocations: 141.8 kB / 1.188 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7146, allocations: 67.98 kB / 1.188 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005754/0.7152, allocations: 0.5459 MB / 1.188 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7152, allocations: 0 / 1.188 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001111/0.7163, allocations: 0.6475 MB / 1.189 GB, free: 11.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006027/0.7224, allocations: 4.91 MB / 1.194 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007838/0.7302, allocations: 4.852 MB / 1.198 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7302, allocations: 0 / 1.198 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.7319, allocations: 1.284 MB / 1.2 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.7341, allocations: 0.5841 MB / 1.2 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.7507, allocations: 14.26 MB / 1.214 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.7515, allocations: 1.335 MB / 1.215 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001695/0.7532, allocations: 0.7267 MB / 1.216 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/0.754, allocations: 0.6242 MB / 1.217 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.754, allocations: 0 / 1.217 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.638/4.392, allocations: 39.4 MB / 1.255 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/18.26, allocations: 4.188 kB / 1.255 GB, free: 283.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)