Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_10_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.001219/0.001219, 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.001174/0.001174, allocations: 194.3 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.19/1.19, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.274/2.274, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4676, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1453/0.613, allocations: 166.9 MB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009986/0.623, allocations: 8.503 MB / 1.189 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.6236, allocations: 39.81 kB / 1.189 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.6248, allocations: 0.5628 MB / 1.189 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.6274, allocations: 1.542 MB / 1.191 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.6292, allocations: 0.9975 MB / 1.192 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.6323, allocations: 4.105 MB / 1.196 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6335, allocations: 1.307 MB / 1.197 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.6355, allocations: 1.488 MB / 1.199 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.637, allocations: 1.519 MB / 1.2 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.6373, allocations: 184 kB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.6391, allocations: 1.104 MB / 1.201 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.6396, allocations: 0.6662 MB / 1.202 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008365/0.6404, allocations: 1.031 MB / 1.203 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.6426, allocations: 2.734 MB / 1.206 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6427, allocations: 0 / 1.206 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6427, allocations: 0 / 1.206 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.6427, allocations: 0 / 1.206 GB, free: 1.02 MB / 0.9512 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.003773/0.6465, allocations: 2.258 MB / 1.208 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6465, allocations: 12.03 kB / 1.208 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.6467, allocations: 223.9 kB / 1.208 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.6472, allocations: 198.7 kB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.6487, allocations: 1.134 MB / 1.209 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.6488, allocations: 123 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.649, allocations: 147.9 kB / 1.21 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.6516, allocations: 1.923 MB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.6517, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.6518, allocations: 75.88 kB / 1.212 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.6518, allocations: 36 kB / 1.212 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.6553, allocations: 2.478 MB / 1.214 GB, free: 8.262 MB / 0.9669 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.006842/0.6622, allocations: 6.139 MB / 1.22 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.6655, allocations: 2.809 MB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.6673, allocations: 1.421 MB / 1.224 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.6687, allocations: 1.73 MB / 1.226 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.6688, allocations: 64.55 kB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 3.236e-06/0.6688, allocations: 0 / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.004935/0.6737, allocations: 3.43 MB / 1.229 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.6738, allocations: 77.41 kB / 1.229 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.6746, allocations: 0.7743 MB / 1.23 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/0.6747, allocations: 65.7 kB / 1.23 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.675, allocations: 498.1 kB / 1.231 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/0.6755, allocations: 0.7853 MB / 1.231 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/0.676, allocations: 347.6 kB / 1.232 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.6761, allocations: 305.1 kB / 1.232 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.6774, allocations: 0.898 MB / 1.233 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.6789, allocations: 1.129 MB / 1.234 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.6819, allocations: 2.223 MB / 1.236 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6819, allocations: 0 / 1.236 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00347/0.6854, allocations: 2.432 MB / 1.238 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6854, allocations: 13.66 kB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6854, allocations: 8 kB / 1.239 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6855, allocations: 12 kB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.687, allocations: 439.4 kB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.6871, allocations: 15.94 kB / 1.239 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.6879, allocations: 154.3 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.6881, allocations: 71.98 kB / 1.239 GB, free: 13.47 MB / 0.9981 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.0005362/0.6886, allocations: 441.2 kB / 1.24 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.6889, allocations: 146.2 kB / 1.24 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.6929, allocations: 2.717 MB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.6929, allocations: 27.94 kB / 1.242 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6929, allocations: 4 kB / 1.242 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003119/0.696, allocations: 2.385 MB / 1.245 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.7014, allocations: 4.294 MB / 1.249 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7015, allocations: 4 kB / 1.249 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.703, allocations: 399.5 kB / 1.249 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/0.7035, allocations: 109.6 kB / 1.249 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.7036, allocations: 47.98 kB / 1.249 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006435/0.7042, allocations: 1.12 MB / 1.251 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7043, allocations: 3.938 kB / 1.251 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3904/1.095, allocations: 4.05 MB / 1.255 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000772/1.096, allocations: 481.9 kB / 1.255 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.096, allocations: 42.42 kB / 1.255 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008377/1.097, allocations: 57.06 kB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.097, allocations: 136.5 kB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.097, allocations: 70.5 kB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000682/1.098, allocations: 0.5457 MB / 1.256 GB, free: 232 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.098, allocations: 0 / 1.256 GB, free: 232 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001304/1.099, allocations: 0.651 MB / 1.256 GB, free: 231.9 MB / 0.9981 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.006585/1.106, allocations: 4.892 MB / 1.261 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008848/1.114, allocations: 4.866 MB / 1.266 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.114, allocations: 0 / 1.266 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.116, allocations: 1.278 MB / 1.267 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.119, allocations: 0.5733 MB / 1.268 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/1.134, allocations: 14.27 MB / 1.282 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/1.135, allocations: 1.341 MB / 1.283 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001678/1.136, allocations: 0.7259 MB / 1.284 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/1.137, allocations: 0.6193 MB / 1.284 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/1.137, allocations: 0 / 1.284 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.215/3.352, allocations: 39.42 MB / 1.323 GB, free: 180 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/19.23, allocations: 15.78 kB / 1.323 GB, free: 180 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)