Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008705/0.008705, allocations: 170 kB / 16.26 MB, free: 6.613 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 274.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004355, allocations: 16.44 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 88.54 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5275/0.6943, allocations: 162.4 MB / 0.8437 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.7065, allocations: 8.464 MB / 0.8519 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.7084, allocations: 31.44 kB / 0.852 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.7098, allocations: 499.3 kB / 0.8524 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.7134, allocations: 1.442 MB / 0.8539 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.7156, allocations: 0.8838 MB / 0.8547 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004842/0.7204, allocations: 5.397 MB / 0.86 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.7218, allocations: 1.075 MB / 0.861 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.7237, allocations: 1.258 MB / 0.8623 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.7254, allocations: 1.504 MB / 0.8637 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.7256, allocations: 88.22 kB / 0.8638 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.7281, allocations: 1.038 MB / 0.8648 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005351/0.7286, allocations: 0.5653 MB / 0.8654 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.7297, allocations: 0.9366 MB / 0.8663 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.733, allocations: 2.627 MB / 0.8689 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.733, allocations: 2.469 kB / 0.8689 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.733, allocations: 3.938 kB / 0.8689 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.851e-05/0.7331, allocations: 0 / 0.8689 GB, free: 2.016 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004206/0.7373, allocations: 2.013 MB / 0.8708 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7373, allocations: 7.938 kB / 0.8708 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.7378, allocations: 193.3 kB / 0.871 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.7398, allocations: 1.174 MB / 0.8722 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.7399, allocations: 119 kB / 0.8723 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.7401, allocations: 148 kB / 0.8724 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.743, allocations: 1.927 MB / 0.8743 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.7431, allocations: 4 kB / 0.8743 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.7432, allocations: 67.98 kB / 0.8744 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.7433, allocations: 39.98 kB / 0.8744 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.7468, allocations: 2.494 MB / 0.8769 GB, free: 10.8 MB / 0.5919 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.007302/0.7541, allocations: 6.108 MB / 0.8828 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.7578, allocations: 2.807 MB / 0.8856 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.7599, allocations: 1.425 MB / 0.887 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.7616, allocations: 1.746 MB / 0.8887 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.7617, allocations: 60.55 kB / 0.8887 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=237): time 4.539e-06/0.7617, allocations: 0 / 0.8887 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=237): time 0.005524/0.7672, allocations: 3.457 MB / 0.8921 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.7673, allocations: 77.41 kB / 0.8922 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.7683, allocations: 0.7665 MB / 0.8929 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.7685, allocations: 65.7 kB / 0.893 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.7689, allocations: 486.1 kB / 0.8934 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/0.7696, allocations: 0.7853 MB / 0.8942 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.7698, allocations: 165.7 kB / 0.8944 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.77, allocations: 309.1 kB / 0.8947 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.7715, allocations: 0.9019 MB / 0.8955 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.773, allocations: 1.132 MB / 0.8966 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/0.7763, allocations: 2.247 MB / 0.8988 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.7763, allocations: 0 / 0.8988 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003826/0.7801, allocations: 2.444 MB / 0.9012 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.7802, allocations: 10.34 kB / 0.9012 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7802, allocations: 9.562 kB / 0.9012 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.7802, allocations: 19.92 kB / 0.9013 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.7818, allocations: 439.3 kB / 0.9017 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/0.7819, allocations: 23.97 kB / 0.9017 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.7834, allocations: 206.3 kB / 0.9019 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.7835, allocations: 71.98 kB / 0.902 GB, free: 108 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0008221/0.7843, allocations: 445.8 kB / 0.9024 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.7846, allocations: 146.2 kB / 0.9025 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/0.789, allocations: 2.743 MB / 0.9052 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.7891, allocations: 24 kB / 0.9052 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.7891, allocations: 4 kB / 0.9052 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003406/0.7925, allocations: 2.397 MB / 0.9076 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/0.7989, allocations: 4.298 MB / 0.9118 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.7989, allocations: 7.938 kB / 0.9118 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.8005, allocations: 409.7 kB / 0.9122 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.801, allocations: 101.7 kB / 0.9123 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.8012, allocations: 51.98 kB / 0.9123 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007459/0.8019, allocations: 1.117 MB / 0.9134 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8019, allocations: 0 / 0.9134 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/0.8077, allocations: 4.089 MB / 0.9174 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009152/0.8086, allocations: 490.5 kB / 0.9179 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.8088, allocations: 39.98 kB / 0.9179 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.8098, allocations: 103.8 kB / 0.918 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.81, allocations: 145.8 kB / 0.9182 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.8102, allocations: 71.97 kB / 0.9182 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007075/0.8109, allocations: 0.5342 MB / 0.9187 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8109, allocations: 3.938 kB / 0.9187 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001519/0.8124, allocations: 0.6397 MB / 0.9194 GB, free: 14.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006921/0.8131, allocations: 382.8 kB / 0.9197 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.8166, allocations: 2.325 MB / 0.922 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8166, allocations: 4.062 kB / 0.922 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.8184, allocations: 1.284 MB / 0.9233 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.8209, allocations: 0.5561 MB / 0.9238 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.8266, allocations: 4.625 MB / 0.9283 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/0.8275, allocations: 1.347 MB / 0.9296 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00191/0.8294, allocations: 0.7267 MB / 0.9304 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.8299, allocations: 155.4 kB / 0.9305 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.8299, allocations: 0 / 0.9305 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of Templates: time 0.04131/0.8713, allocations: 26.23 MB / 0.9561 GB, free: 8.652 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)