Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.001214/0.001214, allocations: 112 kB / 16.46 MB, free: 6.453 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.001298/0.001298, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.347/1.347, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002324/0.002324, allocations: 288.7 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 180.9 MB / 0.5333 GB, free: 13.71 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 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.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.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",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.002793/0.002793, allocations: 102.2 kB / 0.7342 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1572, allocations: 95.34 MB / 0.8273 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5697/0.7269, allocations: 205.6 MB / 1.028 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008903/0.7358, allocations: 7.406 MB / 1.035 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.7374, allocations: 49.64 kB / 1.035 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.739, allocations: 0.7338 MB / 1.036 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.7442, allocations: 2.484 MB / 1.039 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.7468, allocations: 1.253 MB / 1.04 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.7497, allocations: 2.914 MB / 1.043 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.7506, allocations: 0.7792 MB / 1.043 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.7519, allocations: 1.073 MB / 1.044 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.7535, allocations: 1.025 MB / 1.045 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.7536, allocations: 113.3 kB / 1.046 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.757, allocations: 2.262 MB / 1.048 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.7574, allocations: 462.8 kB / 1.048 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005825/0.758, allocations: 0.664 MB / 1.049 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.761, allocations: 2.41 MB / 1.051 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.761, allocations: 3.156 kB / 1.051 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.761, allocations: 0.8125 kB / 1.051 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.761, allocations: 0 / 1.051 GB, free: 2.117 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002977/0.764, allocations: 1.664 MB / 1.053 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.764, allocations: 10.94 kB / 1.053 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.7642, allocations: 142.8 kB / 1.053 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.7665, allocations: 374.1 kB / 1.053 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.7677, allocations: 0.8537 MB / 1.054 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.7677, allocations: 68.19 kB / 1.054 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.7678, allocations: 91.92 kB / 1.054 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.7693, allocations: 1.041 MB / 1.055 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.7693, allocations: 1 kB / 1.055 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.7694, allocations: 35.03 kB / 1.055 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.7694, allocations: 48.17 kB / 1.055 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.7707, allocations: 0.8803 MB / 1.056 GB, free: 15.79 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.00461/0.7753, allocations: 4.306 MB / 1.061 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.7764, allocations: 0.6649 MB / 1.061 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.7772, allocations: 436.2 kB / 1.062 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.7778, allocations: 0.6796 MB / 1.062 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.7779, allocations: 39.56 kB / 1.062 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.7779, allocations: 1.031 kB / 1.062 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001854/0.7797, allocations: 1.001 MB / 1.063 GB, free: 11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.7798, allocations: 60.03 kB / 1.063 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.7805, allocations: 0.635 MB / 1.064 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.7806, allocations: 37.11 kB / 1.064 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.7809, allocations: 442.8 kB / 1.064 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.7811, allocations: 257.3 kB / 1.065 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.7813, allocations: 117.3 kB / 1.065 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.7815, allocations: 399.4 kB / 1.065 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.782, allocations: 278.4 kB / 1.065 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.7825, allocations: 353.6 kB / 1.066 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7835, allocations: 0.6621 MB / 1.066 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7835, allocations: 0 / 1.066 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00123/0.7848, allocations: 0.7962 MB / 1.067 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7848, allocations: 6.094 kB / 1.067 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7848, allocations: 3.594 kB / 1.067 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.7848, allocations: 4.344 kB / 1.067 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.7854, allocations: 146.1 kB / 1.067 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7854, allocations: 2.156 kB / 1.067 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.7861, allocations: 58.23 kB / 1.067 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.7862, allocations: 25.06 kB / 1.067 GB, free: 8.387 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.000401/0.7866, allocations: 292.2 kB / 1.068 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.7867, allocations: 88.94 kB / 1.068 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.7881, allocations: 0.7921 MB / 1.069 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.7881, allocations: 9.594 kB / 1.069 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7881, allocations: 2.125 kB / 1.069 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/0.7892, allocations: 0.8174 MB / 1.069 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.7917, allocations: 1.849 MB / 1.071 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7917, allocations: 3.984 kB / 1.071 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/0.7925, allocations: 164.4 kB / 1.071 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.7925, allocations: 6.938 kB / 1.071 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.7925, allocations: 24.33 kB / 1.071 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.7925, allocations: 5.062 kB / 1.071 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7925, allocations: 0 / 1.071 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.7942, allocations: 1.195 MB / 1.072 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.7946, allocations: 261.3 kB / 1.073 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7947, allocations: 13.62 kB / 1.073 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.7953, allocations: 29.73 kB / 1.073 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.7954, allocations: 40.84 kB / 1.073 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.7955, allocations: 20.56 kB / 1.073 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005459/0.796, allocations: 458.8 kB / 1.073 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.796, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007885/0.7968, allocations: 335 kB / 1.074 GB, free: 4.582 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.002224/0.799, allocations: 1.854 MB / 1.075 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.8001, allocations: 0.6365 MB / 1.076 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8001, allocations: 1.906 kB / 1.076 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.8006, allocations: 353 kB / 1.076 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.8028, allocations: 0.5512 MB / 1.077 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009598/0.8124, allocations: 6.983 MB / 1.084 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.8131, allocations: 1.085 MB / 1.085 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007894/0.8139, allocations: 227.2 kB / 1.085 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.8144, allocations: 359.3 kB / 1.085 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of SimCode: time 8.41e-07/0.8144, allocations: 0 / 1.085 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05926/0.8737, allocations: 25.43 MB / 1.11 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.023/9.897, allocations: 11.34 kB / 1.11 GB, free: 2.352 MB / 0.7637 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation_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_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.730414382182062] Failed to read output from testmodel.py, exit status != 0: 9.979668538086116 10.001629656 9.236199823 Calling exit ...