Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",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.03408/0.03408, allocations: 100 kB / 15.73 MB, free: 6.008 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.00127/0.00127, allocations: 193 kB / 16.67 MB, free: 5.926 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.813/1.813, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004563/0.004563, allocations: 291.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.318/1.318, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 96.22 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4137, allocations: 86.99 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5956/1.009, allocations: 218.5 MB / 0.9793 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02134/1.031, allocations: 20.44 MB / 0.9992 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/1.033, allocations: 56.56 kB / 0.9993 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003209/1.037, allocations: 1.303 MB / 1.001 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009852/1.047, allocations: 4.203 MB / 1.005 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003736/1.05, allocations: 1.552 MB / 1.006 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007918/1.058, allocations: 6.978 MB / 1.013 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/1.062, allocations: 2.362 MB / 1.015 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/1.067, allocations: 2.428 MB / 1.018 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006054/1.073, allocations: 2.458 MB / 1.02 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001285/1.074, allocations: 340.6 kB / 1.02 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00751/1.082, allocations: 3.485 MB / 1.024 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002205/1.084, allocations: 1.451 MB / 1.025 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004361/1.088, allocations: 1.863 MB / 1.027 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/1.1, allocations: 5.787 MB / 1.033 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.1, allocations: 0 / 1.033 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.605e-06/1.1, allocations: 3.953 kB / 1.033 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001935/1.1, allocations: 0 / 1.033 GB, free: 15.73 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01566/1.116, allocations: 4.04 MB / 1.037 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.116, allocations: 9.281 kB / 1.037 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001287/1.117, allocations: 386.4 kB / 1.037 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/1.122, allocations: 0.8451 MB / 1.038 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/1.128, allocations: 1.944 MB / 1.04 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/1.128, allocations: 203.5 kB / 1.04 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/1.13, allocations: 265.1 kB / 1.04 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008436/1.138, allocations: 3.29 MB / 1.043 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005707/1.139, allocations: 10.17 kB / 1.043 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007085/1.14, allocations: 110.6 kB / 1.044 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/1.14, allocations: 122.7 kB / 1.044 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008798/1.148, allocations: 4.618 MB / 1.048 GB, free: 7.398 MB / 0.7325 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.02053/1.169, allocations: 10.95 MB / 1.059 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006888/1.176, allocations: 4.865 MB / 1.064 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004084/1.18, allocations: 2.528 MB / 1.066 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.181, allocations: 0.8639 MB / 1.067 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.276e-05/1.181, allocations: 77.7 kB / 1.067 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 6.963e-06/1.181, allocations: 0 / 1.067 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01186/1.193, allocations: 6.034 MB / 1.073 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/1.193, allocations: 94.55 kB / 1.073 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/1.196, allocations: 1.224 MB / 1.074 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003616/1.197, allocations: 97.7 kB / 1.074 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/1.197, allocations: 0.8251 MB / 1.075 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.199, allocations: 1.402 MB / 1.076 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.2, allocations: 0.5469 MB / 1.077 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/1.2, allocations: 305.1 kB / 1.077 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/1.202, allocations: 1.607 MB / 1.079 GB, free: 7.238 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/1.205, allocations: 1.909 MB / 1.081 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005788/1.211, allocations: 3.829 MB / 1.084 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.567e-06/1.211, allocations: 4 kB / 1.084 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006632/1.218, allocations: 4.203 MB / 1.089 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.218, allocations: 4 kB / 1.089 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/1.218, allocations: 4 kB / 1.089 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/1.218, allocations: 16 kB / 1.089 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/1.221, allocations: 0.6832 MB / 1.089 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.536e-05/1.221, allocations: 20 kB / 1.089 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.224, allocations: 254.1 kB / 1.089 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/1.224, allocations: 108 kB / 1.09 GB, free: 12.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001411/1.225, allocations: 0.7356 MB / 1.09 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/1.226, allocations: 250.5 kB / 1.091 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/1.234, allocations: 4.631 MB / 1.095 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.234, allocations: 43.94 kB / 1.095 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.234, allocations: 0 / 1.095 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005716/1.24, allocations: 3.956 MB / 1.099 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.253, allocations: 8.289 MB / 1.107 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.253, allocations: 7.875 kB / 1.107 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.256, allocations: 0.6654 MB / 1.108 GB, free: 9.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009738/1.257, allocations: 137.6 kB / 1.108 GB, free: 9.441 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000287/1.257, allocations: 83.97 kB / 1.108 GB, free: 9.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/1.261, allocations: 5.039 MB / 1.113 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.261, allocations: 0 / 1.113 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.271, allocations: 6.836 MB / 1.12 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.273, allocations: 0.7719 MB / 1.12 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/1.274, allocations: 68 kB / 1.12 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/1.276, allocations: 87.83 kB / 1.12 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.276, allocations: 226.8 kB / 1.121 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.277, allocations: 112 kB / 1.121 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001522/1.278, allocations: 0.8606 MB / 1.122 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/1.278, allocations: 0 / 1.122 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002935/1.281, allocations: 1.073 MB / 1.123 GB, free: 9.836 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/1.292, allocations: 7.635 MB / 1.13 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007396/1.299, allocations: 4.058 MB / 1.134 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.299, allocations: 0 / 1.134 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/1.303, allocations: 2.553 MB / 1.137 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/1.309, allocations: 1.069 MB / 1.138 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03871/1.348, allocations: 23.1 MB / 1.16 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/1.35, allocations: 1.935 MB / 1.162 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004013/1.354, allocations: 1.227 MB / 1.163 GB, free: 44 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/1.356, allocations: 1.089 MB / 1.164 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of SimCode: time 7.82e-07/1.356, allocations: 0 / 1.164 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/1.499, allocations: 66.75 MB / 1.229 GB, free: 13.03 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.72, allocations: 11.83 kB / 1.229 GB, free: 13.02 MB / 0.92 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)