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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 219.5 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002651/0.002651, allocations: 298 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.284/1.284, allocations: 180.6 MB / 0.5377 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 92.86 kB / 0.7402 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.214, allocations: 95.39 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.7908/1.005, allocations: 193.2 MB / 1.022 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02474/1.03, allocations: 18.87 MB / 1.041 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/1.034, allocations: 77.09 kB / 1.041 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/1.038, allocations: 1.181 MB / 1.042 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01275/1.05, allocations: 4.263 MB / 1.046 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005194/1.056, allocations: 1.584 MB / 1.047 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01/1.066, allocations: 7.111 MB / 1.054 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/1.069, allocations: 1.809 MB / 1.056 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005798/1.075, allocations: 2.486 MB / 1.059 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005862/1.081, allocations: 2.589 MB / 1.061 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001082/1.082, allocations: 344 kB / 1.061 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008537/1.09, allocations: 2.924 MB / 1.064 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002737/1.093, allocations: 1.48 MB / 1.066 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004433/1.098, allocations: 1.593 MB / 1.067 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/1.11, allocations: 5.711 MB / 1.073 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/1.11, allocations: 7.609 kB / 1.073 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/1.11, allocations: 1.219 kB / 1.073 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001616/1.111, allocations: 0 / 1.073 GB, free: 11.41 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.01157/1.122, allocations: 3.957 MB / 1.077 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.122, allocations: 16.39 kB / 1.077 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.226e-05/1.122, allocations: 73.31 kB / 1.077 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000676/1.123, allocations: 384.7 kB / 1.077 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/1.128, allocations: 0.8555 MB / 1.078 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005201/1.133, allocations: 1.886 MB / 1.08 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/1.134, allocations: 203.2 kB / 1.08 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008101/1.134, allocations: 260.1 kB / 1.08 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006713/1.141, allocations: 3.661 MB / 1.084 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/1.141, allocations: 5.828 kB / 1.084 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/1.141, allocations: 109.9 kB / 1.084 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/1.142, allocations: 123 kB / 1.084 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009208/1.151, allocations: 4.627 MB / 1.089 GB, free: 2.297 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.01879/1.17, allocations: 7.549 MB / 1.096 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/1.176, allocations: 4.502 MB / 1.1 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/1.18, allocations: 2.295 MB / 1.103 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000816/1.181, allocations: 175 kB / 1.103 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/1.181, allocations: 77.7 kB / 1.103 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 6.612e-06/1.181, allocations: 0 / 1.103 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01082/1.192, allocations: 5.807 MB / 1.109 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/1.192, allocations: 98.48 kB / 1.109 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.194, allocations: 1.236 MB / 1.11 GB, free: 13 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005033/1.195, allocations: 93.7 kB / 1.11 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000738/1.196, allocations: 0.8297 MB / 1.111 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/1.197, allocations: 1.403 MB / 1.112 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/1.199, allocations: 0.5455 MB / 1.113 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.199, allocations: 305.1 kB / 1.113 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/1.202, allocations: 1.603 MB / 1.115 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.205, allocations: 1.905 MB / 1.116 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/1.212, allocations: 3.837 MB / 1.12 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.212, allocations: 4 kB / 1.12 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008714/1.22, allocations: 4.2 MB / 1.124 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.22, allocations: 4 kB / 1.124 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.22, allocations: 7.094 kB / 1.124 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.053e-05/1.22, allocations: 16 kB / 1.124 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/1.224, allocations: 0.6878 MB / 1.125 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.74e-05/1.224, allocations: 16 kB / 1.125 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/1.227, allocations: 260.7 kB / 1.125 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/1.227, allocations: 112 kB / 1.125 GB, free: 13.13 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.002047/1.229, allocations: 0.7258 MB / 1.126 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.23, allocations: 250.5 kB / 1.126 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009004/1.239, allocations: 4.635 MB / 1.131 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/1.239, allocations: 40 kB / 1.131 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.239, allocations: 0 / 1.131 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006358/1.246, allocations: 3.953 MB / 1.135 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.26, allocations: 7.683 MB / 1.142 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.26, allocations: 0 / 1.142 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003096/1.263, allocations: 0.6574 MB / 1.143 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/1.264, allocations: 138.5 kB / 1.143 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.264, allocations: 83.97 kB / 1.143 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/1.268, allocations: 4.715 MB / 1.148 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.268, allocations: 288 / 1.148 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/1.281, allocations: 6.831 MB / 1.154 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/1.283, allocations: 0.7043 MB / 1.155 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000713/1.284, allocations: 68 kB / 1.155 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.286, allocations: 88.61 kB / 1.155 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005359/1.287, allocations: 237.3 kB / 1.155 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.287, allocations: 119.9 kB / 1.156 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001389/1.288, allocations: 0.8606 MB / 1.156 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.288, allocations: 0 / 1.156 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003284/1.292, allocations: 1.069 MB / 1.157 GB, free: 11.9 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.01196/1.304, allocations: 7.619 MB / 1.165 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006638/1.31, allocations: 3.824 MB / 1.169 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.31, allocations: 4 kB / 1.169 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003923/1.314, allocations: 2.367 MB / 1.171 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/1.319, allocations: 1.07 MB / 1.172 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03862/1.358, allocations: 23.08 MB / 1.194 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/1.36, allocations: 1.366 MB / 1.196 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004362/1.364, allocations: 1.223 MB / 1.197 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002531/1.367, allocations: 1.097 MB / 1.198 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of SimCode: time 2.375e-06/1.367, allocations: 0 / 1.198 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.506, allocations: 72.32 MB / 1.269 GB, free: 10.88 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/19.83, allocations: 7.031 kB / 1.269 GB, free: 10.87 MB / 0.92 GB " [Timeout remaining time 640] (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 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.556425050948747] Failed to read output from testmodel.py, exit status != 0: 20.037734547047876 20.05394335 18.939981751 Calling exit ...