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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 132 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.001118/0.001117, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 278.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9465/0.9465, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 98.22 kB / 0.5953 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1415, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.4957/0.6373, allocations: 218.5 MB / 0.8936 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02467/0.662, allocations: 20.43 MB / 0.9136 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.6648, allocations: 59.69 kB / 0.9136 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.6681, allocations: 1.247 MB / 0.9149 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009746/0.6779, allocations: 4.083 MB / 0.9189 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.6816, allocations: 1.538 MB / 0.9204 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007386/0.689, allocations: 6.967 MB / 0.9272 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003377/0.6924, allocations: 2.36 MB / 0.9295 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.6964, allocations: 2.356 MB / 0.9318 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004528/0.701, allocations: 2.459 MB / 0.9342 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.702, allocations: 348 kB / 0.9345 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007778/0.7098, allocations: 3.457 MB / 0.9379 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001977/0.7118, allocations: 1.457 MB / 0.9393 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003763/0.7156, allocations: 1.859 MB / 0.9411 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.7245, allocations: 5.726 MB / 0.9467 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7245, allocations: 0 / 0.9467 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7245, allocations: 0 / 0.9467 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001351/0.7246, allocations: 0 / 0.9467 GB, free: 6.273 MB / 0.6544 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.01002/0.7347, allocations: 3.949 MB / 0.9506 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.7347, allocations: 8.031 kB / 0.9506 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006697/0.7354, allocations: 387.8 kB / 0.9509 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/0.7404, allocations: 0.8335 MB / 0.9518 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.7442, allocations: 1.875 MB / 0.9536 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.7444, allocations: 205.4 kB / 0.9538 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005807/0.745, allocations: 268 kB / 0.954 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.751, allocations: 3.279 MB / 0.9572 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.012e-05/0.7511, allocations: 7.906 kB / 0.9572 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.7515, allocations: 119.9 kB / 0.9574 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.7516, allocations: 121.4 kB / 0.9575 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007446/0.7591, allocations: 4.627 MB / 0.962 GB, free: 6.426 MB / 0.67 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.01701/0.7761, allocations: 10.99 MB / 0.9727 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006123/0.7823, allocations: 4.857 MB / 0.9775 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.7857, allocations: 2.524 MB / 0.9799 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.7868, allocations: 0.8644 MB / 0.9808 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.7869, allocations: 77.64 kB / 0.9809 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 5.25e-06/0.7869, allocations: 4 kB / 0.9809 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.009647/0.7965, allocations: 6.026 MB / 0.9867 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.7966, allocations: 90.55 kB / 0.9868 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.7985, allocations: 1.228 MB / 0.988 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.7987, allocations: 97.64 kB / 0.9881 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/0.7993, allocations: 0.8134 MB / 0.9889 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.8003, allocations: 1.328 MB / 0.9902 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008055/0.8011, allocations: 0.5585 MB / 0.9908 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.8012, allocations: 301.1 kB / 0.991 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.8037, allocations: 1.603 MB / 0.9926 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.8065, allocations: 1.909 MB / 0.9945 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/0.8119, allocations: 3.827 MB / 0.9982 GB, free: 196 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8119, allocations: 4 kB / 0.9982 GB, free: 192 kB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006294/0.8182, allocations: 4.187 MB / 1.002 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.8182, allocations: 11.94 kB / 1.002 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8183, allocations: 1.016 kB / 1.002 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/0.8183, allocations: 20.41 kB / 1.002 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.8214, allocations: 0.6909 MB / 1.003 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.662e-05/0.8215, allocations: 16 kB / 1.003 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.8238, allocations: 233.4 kB / 1.003 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.8241, allocations: 116 kB / 1.003 GB, free: 10.89 MB / 0.7169 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.00122/0.8253, allocations: 0.7319 MB / 1.004 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/0.8259, allocations: 249.1 kB / 1.004 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007678/0.8336, allocations: 4.628 MB / 1.009 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.8337, allocations: 36 kB / 1.009 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.8337, allocations: 4 kB / 1.009 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00584/0.8395, allocations: 3.961 MB / 1.013 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.8529, allocations: 8.28 MB / 1.021 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.853, allocations: 0 / 1.021 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/0.856, allocations: 0.6593 MB / 1.021 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.8565, allocations: 146.4 kB / 1.022 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/0.8567, allocations: 79.97 kB / 1.022 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.8604, allocations: 5.044 MB / 1.027 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8604, allocations: 8.047 kB / 1.027 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.8706, allocations: 6.81 MB / 1.033 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/0.8722, allocations: 0.7705 MB / 1.034 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/0.8727, allocations: 68 kB / 1.034 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.8748, allocations: 85.8 kB / 1.034 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/0.8752, allocations: 222.8 kB / 1.034 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/0.8755, allocations: 112 kB / 1.034 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001305/0.8768, allocations: 0.8606 MB / 1.035 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8768, allocations: 7.875 kB / 1.035 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002548/0.8794, allocations: 1.073 MB / 1.036 GB, free: 8.363 MB / 0.7481 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.01084/0.8902, allocations: 7.611 MB / 1.044 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02282/0.9131, allocations: 11.49 MB / 1.055 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.9131, allocations: 0 / 1.055 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00489/0.918, allocations: 2.547 MB / 1.058 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006124/0.9242, allocations: 1.077 MB / 1.059 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2883/1.212, allocations: 24.94 MB / 1.083 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/1.215, allocations: 1.943 MB / 1.085 GB, free: 281 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003897/1.218, allocations: 1.23 MB / 1.086 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.22, allocations: 1.087 MB / 1.087 GB, free: 280.1 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/1.22, allocations: 0 / 1.087 GB, free: 280.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09394/1.314, allocations: 66.16 MB / 1.152 GB, free: 226.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.88, allocations: 8.5 kB / 1.152 GB, free: 226.2 MB / 0.7637 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)