Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.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.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1") translateModel(BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007577/0.007578, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001708, allocations: 278.3 kB / 291.7 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9646/0.9646, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Cvode" Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 14.12 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1): time 0.5549/0.7363, allocations: 256.3 MB / 0.9354 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.7514, allocations: 9.928 MB / 0.9451 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.7539, allocations: 63.62 kB / 0.9451 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.7567, allocations: 0.9594 MB / 0.9461 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008381/0.7651, allocations: 3.016 MB / 0.949 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009458/0.7746, allocations: 4.025 MB / 0.9529 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008437/0.783, allocations: 7.604 MB / 0.9604 GB, free: 5.816 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.7866, allocations: 1.931 MB / 0.9622 GB, free: 3.844 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/0.7917, allocations: 2.175 MB / 0.9644 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.7945, allocations: 1.957 MB / 0.9663 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.7948, allocations: 160 kB / 0.9664 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/0.8012, allocations: 3.756 MB / 0.9701 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.8022, allocations: 0.8136 MB / 0.9709 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.8044, allocations: 1.599 MB / 0.9725 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00778/0.8122, allocations: 5.591 MB / 0.9779 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8122, allocations: 0 / 0.9779 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8122, allocations: 0 / 0.9779 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001239/0.8124, allocations: 0 / 0.9779 GB, free: 3.734 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.005829/0.8182, allocations: 3.085 MB / 0.9809 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.8183, allocations: 8.031 kB / 0.9809 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.8225, allocations: 0.7261 MB / 0.9816 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.8255, allocations: 1.691 MB / 0.9833 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.8256, allocations: 184.7 kB / 0.9835 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.826, allocations: 268 kB / 0.9837 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005072/0.8311, allocations: 3.485 MB / 0.9871 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.8312, allocations: 19.78 kB / 0.9872 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.8314, allocations: 116 kB / 0.9873 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.249e-05/0.8315, allocations: 91.98 kB / 0.9874 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.8352, allocations: 2.277 MB / 0.9896 GB, free: 7.258 MB / 0.7012 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.01678/0.852, allocations: 17.3 MB / 1.006 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.8536, allocations: 1.475 MB / 1.008 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.8543, allocations: 0.5757 MB / 1.008 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.8554, allocations: 1.223 MB / 1.01 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.8555, allocations: 59.16 kB / 1.01 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=98): time 4.729e-06/0.8555, allocations: 4 kB / 1.01 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98): time 0.003049/0.8585, allocations: 1.448 MB / 1.011 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/0.8588, allocations: 472.2 kB / 1.012 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.8616, allocations: 2.094 MB / 1.014 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.8617, allocations: 49.7 kB / 1.014 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/0.8626, allocations: 1.295 MB / 1.015 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.8629, allocations: 374.8 kB / 1.015 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.8631, allocations: 173.6 kB / 1.015 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.8632, allocations: 305.1 kB / 1.016 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007884/0.864, allocations: 487.8 kB / 1.016 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.8653, allocations: 1.414 MB / 1.018 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.8677, allocations: 2.364 MB / 1.02 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.8677, allocations: 8 kB / 1.02 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003397/0.8711, allocations: 2.317 MB / 1.022 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.8713, allocations: 277.5 kB / 1.022 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/0.8714, allocations: 32 kB / 1.022 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.223e-05/0.8714, allocations: 47.94 kB / 1.023 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.873, allocations: 495.2 kB / 1.023 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.8747, allocations: 3.665 MB / 1.027 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.8765, allocations: 305.4 kB / 1.027 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.8767, allocations: 108 kB / 1.027 GB, free: 13.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * 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 (246): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001163/0.8778, allocations: 0.7084 MB / 1.028 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/0.8783, allocations: 233.2 kB / 1.028 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.88, allocations: 1.105 MB / 1.029 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.8801, allocations: 12 kB / 1.029 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.8801, allocations: 7.984 kB / 1.029 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.8801, allocations: 15.86 kB / 1.029 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/0.8859, allocations: 4.603 MB / 1.034 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.886, allocations: 8.547 kB / 1.034 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/0.8869, allocations: 223.7 kB / 1.034 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/0.8869, allocations: 8 kB / 1.034 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/0.887, allocations: 31.98 kB / 1.034 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.8885, allocations: 3.614 MB / 1.037 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8885, allocations: 4 kB / 1.037 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.8909, allocations: 1.879 MB / 1.039 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007301/0.8917, allocations: 449.9 kB / 1.04 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.8919, allocations: 27.98 kB / 1.04 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.893, allocations: 91.86 kB / 1.04 GB, free: 488 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.8931, allocations: 76.36 kB / 1.04 GB, free: 412 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.8932, allocations: 43.98 kB / 1.04 GB, free: 368 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001866/0.8951, allocations: 1.371 MB / 1.041 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8951, allocations: 4 kB / 1.041 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001866/0.897, allocations: 0.6741 MB / 1.042 GB, free: 14.29 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (airEle111.fluid.rho,airEle111.fluid.h,west11.ori.mExc,west11.senTem.T,roof11.ori.mExc,roof11.senTem.T,floor11.ori.mExc,floor11.senTem.T,north11.ori.mExc,north11.senTem.T,south11.ori.mExc,south11.senTem.T,east11.ori.mExc,east11.senTem.T) * 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 (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/0.8976, allocations: 322.5 kB / 1.042 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.9003, allocations: 1.979 MB / 1.044 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9003, allocations: 0 / 1.044 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.9015, allocations: 0.7923 MB / 1.045 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/0.9063, allocations: 0.7689 MB / 1.046 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/0.9139, allocations: 6.045 MB / 1.051 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.9151, allocations: 1.704 MB / 1.053 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001562/0.9167, allocations: 393.1 kB / 1.053 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.917, allocations: 143.4 kB / 1.054 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of SimCode: time 8.12e-07/0.917, allocations: 0 / 1.054 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of Templates: time 0.3434/1.26, allocations: 30.73 MB / 1.084 GB, free: 280 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.sim & ./BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe 2>&1)