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.005347/0.005347, allocations: 101 kB / 15.73 MB, free: 6.059 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.001526/0.001526, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 292.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 27.62/27.62, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 99.84 kB / 0.681 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.627, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.959/1.586, allocations: 218.5 MB / 0.9793 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03023/1.616, allocations: 20.45 MB / 0.9992 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004415/1.621, allocations: 57.66 kB / 0.9993 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004451/1.625, allocations: 1.243 MB / 1 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01717/1.643, allocations: 4.082 MB / 1.004 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005069/1.648, allocations: 1.545 MB / 1.006 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01066/1.658, allocations: 6.962 MB / 1.013 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005095/1.663, allocations: 2.369 MB / 1.015 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006802/1.67, allocations: 2.365 MB / 1.017 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006572/1.677, allocations: 2.454 MB / 1.02 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/1.678, allocations: 345 kB / 1.02 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/1.689, allocations: 3.463 MB / 1.024 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00302/1.692, allocations: 1.449 MB / 1.025 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005207/1.698, allocations: 1.864 MB / 1.027 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/1.713, allocations: 5.791 MB / 1.032 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.713, allocations: 0 / 1.032 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/1.713, allocations: 0 / 1.032 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002145/1.713, allocations: 0.9062 kB / 1.032 GB, free: 15.67 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.0146/1.728, allocations: 4.04 MB / 1.036 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.728, allocations: 11.66 kB / 1.036 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008156/1.729, allocations: 386.3 kB / 1.037 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/1.734, allocations: 0.8401 MB / 1.038 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/1.739, allocations: 1.947 MB / 1.039 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/1.739, allocations: 199.8 kB / 1.04 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/1.74, allocations: 271.2 kB / 1.04 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007246/1.747, allocations: 3.286 MB / 1.043 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/1.748, allocations: 6.859 kB / 1.043 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/1.748, allocations: 115.4 kB / 1.043 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/1.748, allocations: 120.9 kB / 1.043 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00845/1.756, allocations: 4.623 MB / 1.048 GB, free: 7.656 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.0233/1.78, allocations: 10.95 MB / 1.059 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008215/1.788, allocations: 4.873 MB / 1.063 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005125/1.793, allocations: 2.534 MB / 1.066 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.795, allocations: 0.8582 MB / 1.067 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.135e-05/1.795, allocations: 73.7 kB / 1.067 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 5.831e-06/1.795, allocations: 0 / 1.067 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01413/1.809, allocations: 6.034 MB / 1.073 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.809, allocations: 106.5 kB / 1.073 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/1.811, allocations: 1.224 MB / 1.074 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007144/1.812, allocations: 93.7 kB / 1.074 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/1.813, allocations: 0.8229 MB / 1.075 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/1.815, allocations: 1.402 MB / 1.076 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001948/1.817, allocations: 0.5441 MB / 1.077 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.817, allocations: 305.1 kB / 1.077 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/1.82, allocations: 1.603 MB / 1.079 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/1.824, allocations: 1.912 MB / 1.08 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007651/1.832, allocations: 3.837 MB / 1.084 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.832, allocations: 0 / 1.084 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01039/1.842, allocations: 4.202 MB / 1.088 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/1.843, allocations: 7.188 kB / 1.088 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.843, allocations: 4 kB / 1.088 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.323e-05/1.843, allocations: 20 kB / 1.088 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/1.846, allocations: 0.6722 MB / 1.089 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.297e-05/1.846, allocations: 24.36 kB / 1.089 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.849, allocations: 250.1 kB / 1.089 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006267/1.85, allocations: 116 kB / 1.089 GB, free: 12.41 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.002471/1.852, allocations: 0.7317 MB / 1.09 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.854, allocations: 250.5 kB / 1.09 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.864, allocations: 4.636 MB / 1.095 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/1.864, allocations: 36 kB / 1.095 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/1.864, allocations: 0 / 1.095 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007784/1.872, allocations: 3.957 MB / 1.099 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.89, allocations: 8.303 MB / 1.107 GB, free: 10.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.89, allocations: 7.984 kB / 1.107 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003218/1.893, allocations: 0.6505 MB / 1.107 GB, free: 9.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/1.894, allocations: 141.7 kB / 1.108 GB, free: 9.691 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005358/1.895, allocations: 79.98 kB / 1.108 GB, free: 9.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/1.899, allocations: 5.033 MB / 1.113 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.899, allocations: 0 / 1.113 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/1.914, allocations: 6.84 MB / 1.119 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/1.917, allocations: 0.768 MB / 1.12 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.918, allocations: 79.98 kB / 1.12 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.921, allocations: 83.97 kB / 1.12 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008029/1.922, allocations: 226.8 kB / 1.12 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005055/1.923, allocations: 112 kB / 1.12 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002007/1.925, allocations: 0.8567 MB / 1.121 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/1.925, allocations: 3.188 kB / 1.121 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004814/1.929, allocations: 1.069 MB / 1.122 GB, free: 10.09 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.0144/1.944, allocations: 7.636 MB / 1.13 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009177/1.953, allocations: 4.055 MB / 1.134 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.953, allocations: 0 / 1.134 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005807/1.959, allocations: 2.549 MB / 1.136 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008242/1.967, allocations: 1.07 MB / 1.137 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05038/2.018, allocations: 23.11 MB / 1.16 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/2.02, allocations: 1.939 MB / 1.162 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.006183/2.027, allocations: 1.219 MB / 1.163 GB, free: 312 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003417/2.03, allocations: 1.097 MB / 1.164 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of SimCode: time 9.12e-07/2.03, allocations: 0 / 1.164 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/2.175, allocations: 66.74 MB / 1.229 GB, free: 13.29 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/17.75, allocations: 11.78 kB / 1.229 GB, free: 13.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)