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.004759/0.004759, allocations: 97.33 kB / 15.73 MB, free: 6.039 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.001336/0.001336, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.333/2.333, allocations: 437.1 MB / 0.7106 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.88 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2621, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.6106/0.8727, allocations: 166.9 MB / 1.329 GB, free: 4.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.8847, allocations: 8.496 MB / 1.337 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.886, allocations: 37.09 kB / 1.338 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.8873, allocations: 0.5775 MB / 1.338 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.8903, allocations: 1.53 MB / 1.34 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.8924, allocations: 0.9981 MB / 1.341 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.896, allocations: 4.1 MB / 1.345 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.8973, allocations: 1.308 MB / 1.346 GB, free: 9.742 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.8997, allocations: 1.5 MB / 1.347 GB, free: 9.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.9013, allocations: 1.508 MB / 1.349 GB, free: 8.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.9016, allocations: 188.5 kB / 1.349 GB, free: 8.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.9036, allocations: 1.102 MB / 1.35 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.9042, allocations: 0.673 MB / 1.351 GB, free: 7.836 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000987/0.9052, allocations: 1.027 MB / 1.352 GB, free: 7.258 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.9079, allocations: 2.772 MB / 1.354 GB, free: 6.242 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.9079, allocations: 4 kB / 1.354 GB, free: 6.238 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9079, allocations: 0 / 1.354 GB, free: 6.238 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.9079, allocations: 0 / 1.354 GB, free: 6.238 MB / 1.029 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.004101/0.912, allocations: 2.314 MB / 1.357 GB, free: 4.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.9121, allocations: 13.09 kB / 1.357 GB, free: 4.656 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/0.9123, allocations: 224.4 kB / 1.357 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.9128, allocations: 207.6 kB / 1.357 GB, free: 4.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.9146, allocations: 1.185 MB / 1.358 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.9147, allocations: 116.3 kB / 1.358 GB, free: 3.426 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.9149, allocations: 147 kB / 1.359 GB, free: 3.379 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.9177, allocations: 1.922 MB / 1.36 GB, free: 2.258 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.9178, allocations: 6.891 kB / 1.36 GB, free: 2.254 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.9179, allocations: 68.25 kB / 1.36 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.9179, allocations: 38.94 kB / 1.36 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.9215, allocations: 2.47 MB / 1.363 GB, free: 1.055 MB / 1.029 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.007172/0.9287, allocations: 6.129 MB / 1.369 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.932, allocations: 2.794 MB / 1.372 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.9338, allocations: 1.427 MB / 1.373 GB, free: 9.938 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/0.9354, allocations: 1.735 MB / 1.375 GB, free: 7.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.9355, allocations: 60.16 kB / 1.375 GB, free: 7.918 MB / 1.045 GB Notification: Performance of pre-optimization done (n=237): time 3.106e-06/0.9355, allocations: 1.906 kB / 1.375 GB, free: 7.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=237): time 0.004852/0.9403, allocations: 3.44 MB / 1.378 GB, free: 6.156 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.9404, allocations: 73.53 kB / 1.378 GB, free: 6.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.9412, allocations: 0.7763 MB / 1.379 GB, free: 5.652 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.9413, allocations: 67.27 kB / 1.379 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.9417, allocations: 0.4884 MB / 1.379 GB, free: 5.152 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000627/0.9423, allocations: 0.8322 MB / 1.38 GB, free: 4.406 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004547/0.9428, allocations: 346.2 kB / 1.381 GB, free: 4.219 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9429, allocations: 304 kB / 1.381 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.9442, allocations: 0.8999 MB / 1.382 GB, free: 3.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.9457, allocations: 1.126 MB / 1.383 GB, free: 2.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.9487, allocations: 2.232 MB / 1.385 GB, free: 1.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9487, allocations: 2.219 kB / 1.385 GB, free: 1.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003398/0.9521, allocations: 2.44 MB / 1.387 GB, free: 456 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9521, allocations: 8.938 kB / 1.387 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9521, allocations: 5.562 kB / 1.387 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.9522, allocations: 16.62 kB / 1.387 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.9536, allocations: 437.4 kB / 1.388 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.9536, allocations: 19.16 kB / 1.388 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/0.9546, allocations: 158 kB / 1.388 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.9547, allocations: 72.8 kB / 1.388 GB, free: 204 kB / 1.045 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.0005763/0.9553, allocations: 442.6 kB / 1.389 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.9555, allocations: 152.4 kB / 1.389 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.96, allocations: 2.723 MB / 1.391 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.9601, allocations: 28 kB / 1.391 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9601, allocations: 0 / 1.391 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003458/0.9636, allocations: 2.377 MB / 1.394 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/0.9697, allocations: 4.306 MB / 1.398 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9697, allocations: 0 / 1.398 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.9713, allocations: 411.4 kB / 1.398 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/0.9718, allocations: 102.8 kB / 1.398 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.9719, allocations: 55.97 kB / 1.398 GB, free: 5.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007946/0.9727, allocations: 1.116 MB / 1.4 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9727, allocations: 3.938 kB / 1.4 GB, free: 4.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005995/0.9787, allocations: 4.066 MB / 1.404 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007324/0.9795, allocations: 483.6 kB / 1.404 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.9797, allocations: 40 kB / 1.404 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.9805, allocations: 47.98 kB / 1.404 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.9808, allocations: 149.9 kB / 1.404 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.9809, allocations: 68.86 kB / 1.404 GB, free: 15.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006915/0.9816, allocations: 0.5459 MB / 1.405 GB, free: 15.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9816, allocations: 0 / 1.405 GB, free: 15.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001388/0.983, allocations: 0.6552 MB / 1.405 GB, free: 14.36 MB / 1.076 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.006802/0.9898, allocations: 4.903 MB / 1.41 GB, free: 9.426 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003434/0.9933, allocations: 2.325 MB / 1.413 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9933, allocations: 0 / 1.413 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.9952, allocations: 1.289 MB / 1.414 GB, free: 5.816 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.9974, allocations: 0.583 MB / 1.414 GB, free: 5.246 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.015, allocations: 13.67 MB / 1.428 GB, free: 7.297 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009593/1.016, allocations: 1.343 MB / 1.429 GB, free: 5.922 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001638/1.018, allocations: 0.719 MB / 1.43 GB, free: 5.195 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009258/1.019, allocations: 0.6242 MB / 1.43 GB, free: 4.57 MB / 1.092 GB Notification: Performance of SimCode: time 2.61e-07/1.019, allocations: 0 / 1.43 GB, free: 4.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8098/1.829, allocations: 39.81 MB / 1.469 GB, free: 13.23 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.01/23.84, allocations: 8.062 kB / 1.469 GB, free: 13.22 MB / 1.139 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=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)