Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008065/0.0008065, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004658/0.004658, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00159/0.00159, allocations: 290.6 kB / 291.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 32.24/32.24, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 22.14 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.7974/1.02, allocations: 162.4 MB / 0.8438 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01736/1.038, allocations: 8.456 MB / 0.852 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003612/1.041, allocations: 38.97 kB / 0.8521 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/1.044, allocations: 492.9 kB / 0.8525 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007618/1.052, allocations: 1.451 MB / 0.854 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004098/1.056, allocations: 0.8827 MB / 0.8548 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009209/1.065, allocations: 5.399 MB / 0.8601 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/1.068, allocations: 1.081 MB / 0.8612 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/1.073, allocations: 1.254 MB / 0.8624 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/1.076, allocations: 1.495 MB / 0.8638 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/1.077, allocations: 88.19 kB / 0.8639 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/1.08, allocations: 1.044 MB / 0.8649 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007661/1.081, allocations: 0.5656 MB / 0.8655 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/1.083, allocations: 0.94 MB / 0.8664 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/1.088, allocations: 2.628 MB / 0.869 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.088, allocations: 0 / 0.869 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.601e-06/1.088, allocations: 3.984 kB / 0.869 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.636e-05/1.088, allocations: 0 / 0.869 GB, free: 1.844 MB / 0.5762 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.005075/1.093, allocations: 2.004 MB / 0.8709 GB, free: 492 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.093, allocations: 10.97 kB / 0.871 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003737/1.093, allocations: 222.3 kB / 0.8712 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/1.094, allocations: 200.6 kB / 0.8714 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/1.096, allocations: 1.183 MB / 0.8725 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-05/1.096, allocations: 115 kB / 0.8726 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/1.097, allocations: 148 kB / 0.8728 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/1.1, allocations: 1.927 MB / 0.8746 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.1, allocations: 0 / 0.8746 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/1.1, allocations: 75.92 kB / 0.8747 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/1.1, allocations: 36 kB / 0.8747 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004018/1.104, allocations: 2.498 MB / 0.8772 GB, free: 10.38 MB / 0.5919 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.009208/1.113, allocations: 6.096 MB / 0.8831 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/1.117, allocations: 2.819 MB / 0.8859 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/1.119, allocations: 1.421 MB / 0.8873 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/1.121, allocations: 1.742 MB / 0.889 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.121, allocations: 56.56 kB / 0.889 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=237): time 4.989e-06/1.121, allocations: 0 / 0.889 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=237): time 0.00577/1.127, allocations: 3.465 MB / 0.8924 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/1.127, allocations: 77.41 kB / 0.8925 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.128, allocations: 0.7665 MB / 0.8932 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/1.128, allocations: 65.7 kB / 0.8933 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/1.129, allocations: 490.1 kB / 0.8938 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006995/1.13, allocations: 0.7854 MB / 0.8945 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.13, allocations: 165.7 kB / 0.8947 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.13, allocations: 301.1 kB / 0.895 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.131, allocations: 0.9058 MB / 0.8959 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.133, allocations: 1.125 MB / 0.897 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/1.136, allocations: 2.247 MB / 0.8992 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.136, allocations: 0 / 0.8992 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004133/1.141, allocations: 2.448 MB / 0.9016 GB, free: 460 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.141, allocations: 8 kB / 0.9016 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.141, allocations: 9.938 kB / 0.9016 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/1.141, allocations: 15.98 kB / 0.9016 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.142, allocations: 435.4 kB / 0.902 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/1.142, allocations: 15.94 kB / 0.902 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.144, allocations: 214.3 kB / 0.9022 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.144, allocations: 71.98 kB / 0.9023 GB, free: 15.7 MB / 0.6231 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.0008283/1.145, allocations: 445.2 kB / 0.9027 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/1.145, allocations: 146.2 kB / 0.9029 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/1.15, allocations: 2.741 MB / 0.9055 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.15, allocations: 24 kB / 0.9056 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/1.15, allocations: 0 / 0.9056 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003415/1.153, allocations: 2.401 MB / 0.9079 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006702/1.16, allocations: 4.306 MB / 0.9121 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/1.16, allocations: 4 kB / 0.9121 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.162, allocations: 407.4 kB / 0.9125 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/1.162, allocations: 101.7 kB / 0.9126 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/1.162, allocations: 51.98 kB / 0.9126 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007704/1.163, allocations: 1.118 MB / 0.9137 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.163, allocations: 0 / 0.9137 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/1.169, allocations: 4.096 MB / 0.9177 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.17, allocations: 486.6 kB / 0.9182 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/1.171, allocations: 36 kB / 0.9182 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.172, allocations: 111.8 kB / 0.9183 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/1.172, allocations: 145.7 kB / 0.9185 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.172, allocations: 67.98 kB / 0.9185 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006938/1.173, allocations: 0.5342 MB / 0.9191 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.173, allocations: 0 / 0.9191 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001467/1.174, allocations: 0.6436 MB / 0.9197 GB, free: 13.6 MB / 0.6387 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.006727/1.181, allocations: 4.906 MB / 0.9245 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003557/1.184, allocations: 2.329 MB / 0.9268 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.184, allocations: 4.125 kB / 0.9268 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.186, allocations: 1.276 MB / 0.928 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/1.189, allocations: 0.5651 MB / 0.9286 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.21, allocations: 15.07 MB / 0.9433 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000927/1.211, allocations: 1.335 MB / 0.9446 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002209/1.213, allocations: 0.727 MB / 0.9453 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009483/1.214, allocations: 0.6164 MB / 0.9459 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of SimCode: time 1.162e-06/1.214, allocations: 4 kB / 0.9459 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3266/1.541, allocations: 37.39 MB / 0.9824 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.541, allocations: 253 kB / 0.9827 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/4.413, allocations: 3.625 kB / 0.9827 GB, free: 13.08 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)