Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001261/0.001261, allocations: 184 kB / 17.34 MB, free: 5.738 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 287.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4318, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004651/0.4364, allocations: 2.918 MB / 0.7699 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.4379, allocations: 0.705 MB / 0.7706 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.4381, allocations: 11.94 kB / 0.7706 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.4383, allocations: 63.48 kB / 0.7706 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.4386, allocations: 130.9 kB / 0.7708 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.4388, allocations: 51.88 kB / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.4392, allocations: 366.2 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.4394, allocations: 75.88 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.4396, allocations: 143.4 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.4398, allocations: 147.3 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.4399, allocations: 24 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.4399, allocations: 28 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.44, allocations: 55.72 kB / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.4401, allocations: 159.2 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.4405, allocations: 316.3 kB / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4405, allocations: 0 / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4405, allocations: 4 kB / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4405, allocations: 0 / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009832/0.4415, allocations: 0.5921 MB / 0.7726 GB, free: 14.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4416, allocations: 8.031 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.4416, allocations: 36.7 kB / 0.7727 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.442, allocations: 284.5 kB / 0.773 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.442, allocations: 16.94 kB / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.4421, allocations: 28.36 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.4426, allocations: 241.2 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4426, allocations: 0 / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.4426, allocations: 11.94 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4426, allocations: 12 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.443, allocations: 194.2 kB / 0.7734 GB, free: 13.22 MB / 0.545 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.001785/0.4448, allocations: 1.289 MB / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.4457, allocations: 246.5 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.4458, allocations: 65.05 kB / 0.775 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4458, allocations: 7.984 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.4459, allocations: 38.5 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.4459, allocations: 0 / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001292/0.4472, allocations: 0.6444 MB / 0.7757 GB, free: 10.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4472, allocations: 55.41 kB / 0.7757 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.4475, allocations: 283.2 kB / 0.776 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.4475, allocations: 37.7 kB / 0.776 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.4477, allocations: 219.8 kB / 0.7762 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.4478, allocations: 63.47 kB / 0.7763 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4479, allocations: 73.61 kB / 0.7764 GB, free: 9.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4481, allocations: 338.8 kB / 0.7767 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4482, allocations: 80.33 kB / 0.7768 GB, free: 9.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.4485, allocations: 190.2 kB / 0.7769 GB, free: 9.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.4497, allocations: 497.2 kB / 0.7774 GB, free: 8.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4497, allocations: 3.938 kB / 0.7774 GB, free: 8.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007763/0.4505, allocations: 412.4 kB / 0.7778 GB, free: 8.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4505, allocations: 12.41 kB / 0.7778 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4505, allocations: 8 kB / 0.7778 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.4508, allocations: 87.38 kB / 0.7779 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.4511, allocations: 71.91 kB / 0.778 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.4558, allocations: 5.53 MB / 0.7834 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.4561, allocations: 39.67 kB / 0.7834 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.4561, allocations: 23.98 kB / 0.7834 GB, free: 1.957 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003538/0.4564, allocations: 166.2 kB / 0.7836 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.4565, allocations: 31.75 kB / 0.7836 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.4566, allocations: 34.23 kB / 0.7837 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4566, allocations: 7.938 kB / 0.7837 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.4566, allocations: 4 kB / 0.7837 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4566, allocations: 0 / 0.7837 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.457, allocations: 305.4 kB / 0.784 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.457, allocations: 7.922 kB / 0.784 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.4572, allocations: 31.98 kB / 0.784 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.4575, allocations: 83.38 kB / 0.7841 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4575, allocations: 4 kB / 0.7841 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004578/0.4621, allocations: 5.5 MB / 0.7895 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4621, allocations: 7.922 kB / 0.7895 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.4628, allocations: 410.6 kB / 0.7899 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4629, allocations: 112.8 kB / 0.79 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.463, allocations: 4.062 kB / 0.79 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.4631, allocations: 4 kB / 0.79 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.4632, allocations: 19.97 kB / 0.79 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4632, allocations: 4 kB / 0.79 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002187/0.4634, allocations: 194 kB / 0.7902 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.4634, allocations: 0 / 0.7902 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005253/0.4639, allocations: 99.89 kB / 0.7903 GB, free: 10.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001675/0.4641, allocations: 104.8 kB / 0.7904 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.4651, allocations: 0.6422 MB / 0.791 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4651, allocations: 0.9375 kB / 0.791 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.4657, allocations: 0.5299 MB / 0.7915 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.4661, allocations: 58.97 kB / 0.7916 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4674, allocations: 0.7514 MB / 0.7923 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.4679, allocations: 0.7762 MB / 0.7931 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000143/0.468, allocations: 30.97 kB / 0.7931 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.4681, allocations: 23.44 kB / 0.7931 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.4681, allocations: 0 / 0.7931 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of Templates: time 0.009327/0.4774, allocations: 3.987 MB / 0.797 GB, free: 3.258 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)