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.001503/0.001503, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001376/0.001376, allocations: 197.3 kB / 16.14 MB, free: 6.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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002651/0.002651, allocations: 278.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.153/1.153, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 96.61 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1635, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004333/0.1678, allocations: 2.947 MB / 0.6957 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.169, allocations: 0.6988 MB / 0.6963 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.1692, allocations: 11.94 kB / 0.6964 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.1694, allocations: 51.67 kB / 0.6964 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1696, allocations: 111.1 kB / 0.6965 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1698, allocations: 47.97 kB / 0.6966 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.1702, allocations: 358.1 kB / 0.6969 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1703, allocations: 83.77 kB / 0.697 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.1705, allocations: 123.5 kB / 0.6971 GB, free: 448 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1707, allocations: 151.2 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1708, allocations: 16 kB / 0.6973 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.1708, allocations: 16 kB / 0.6973 GB, free: 264 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1709, allocations: 51.77 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.171, allocations: 139.3 kB / 0.6974 GB, free: 72 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1714, allocations: 311 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1714, allocations: 0 / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.42e-07/0.1714, allocations: 0 / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1714, allocations: 4 kB / 0.6977 GB, free: 15.76 MB / 0.4981 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.0008643/0.1723, allocations: 0.5847 MB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1723, allocations: 8.031 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1724, allocations: 32.56 kB / 0.6984 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1727, allocations: 287.5 kB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1728, allocations: 20.94 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.1728, allocations: 24.38 kB / 0.6987 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.1733, allocations: 249.1 kB / 0.6989 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1733, allocations: 0 / 0.6989 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.1734, allocations: 11.98 kB / 0.6989 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1734, allocations: 8 kB / 0.6989 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.1738, allocations: 194.2 kB / 0.6991 GB, free: 14.27 MB / 0.4981 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.001789/0.1756, allocations: 1.285 MB / 0.7004 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/0.1765, allocations: 254.5 kB / 0.7006 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1766, allocations: 68.83 kB / 0.7007 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1766, allocations: 0 / 0.7007 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1767, allocations: 38.55 kB / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.1767, allocations: 4 kB / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001287/0.178, allocations: 0.6456 MB / 0.7014 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.178, allocations: 59.34 kB / 0.7014 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1783, allocations: 283.2 kB / 0.7017 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1784, allocations: 29.7 kB / 0.7017 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1785, allocations: 223.2 kB / 0.7019 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.1786, allocations: 63.09 kB / 0.702 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1787, allocations: 69.61 kB / 0.702 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1789, allocations: 338.8 kB / 0.7024 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.179, allocations: 80.33 kB / 0.7024 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.1793, allocations: 182.2 kB / 0.7026 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.1806, allocations: 496.8 kB / 0.7031 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1806, allocations: 3.938 kB / 0.7031 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007842/0.1814, allocations: 420.6 kB / 0.7035 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1814, allocations: 11.94 kB / 0.7035 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1814, allocations: 4 kB / 0.7035 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.1817, allocations: 91.42 kB / 0.7036 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.182, allocations: 71.91 kB / 0.7037 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/0.1862, allocations: 5.12 MB / 0.7087 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1865, allocations: 51.58 kB / 0.7087 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1865, allocations: 16 kB / 0.7087 GB, free: 3.422 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = max(0.0, 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.0004001/0.187, allocations: 186.7 kB / 0.7089 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.187, allocations: 35.5 kB / 0.7089 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.1871, allocations: 34.28 kB / 0.709 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1871, allocations: 4 kB / 0.709 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1871, allocations: 0 / 0.709 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1871, allocations: 4 kB / 0.709 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.1875, allocations: 309.3 kB / 0.7093 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1875, allocations: 4 kB / 0.7093 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1877, allocations: 31.97 kB / 0.7093 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.188, allocations: 83.33 kB / 0.7094 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1881, allocations: 8 kB / 0.7094 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.192, allocations: 5.112 MB / 0.7144 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.192, allocations: 3.984 kB / 0.7144 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.1927, allocations: 420 kB / 0.7148 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.1928, allocations: 104.7 kB / 0.7149 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.1929, allocations: 4.062 kB / 0.7149 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.193, allocations: 7.938 kB / 0.7149 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.1931, allocations: 27.91 kB / 0.7149 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1931, allocations: 4 kB / 0.7149 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002006/0.1933, allocations: 190 kB / 0.7151 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.204e-06/0.1933, allocations: 0 / 0.7151 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004774/0.1938, allocations: 95.84 kB / 0.7152 GB, free: 12.14 MB / 0.5137 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.0001507/0.194, allocations: 103.2 kB / 0.7153 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009204/0.1949, allocations: 0.6594 MB / 0.716 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1949, allocations: 0 / 0.716 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.1955, allocations: 0.5279 MB / 0.7165 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.196, allocations: 64.56 kB / 0.7165 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1973, allocations: 0.8542 MB / 0.7174 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.1977, allocations: 0.7645 MB / 0.7181 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.1979, allocations: 34.97 kB / 0.7181 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1979, allocations: 19.44 kB / 0.7182 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1979, allocations: 0 / 0.7182 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of Templates: time 0.008453/0.2064, allocations: 3.713 MB / 0.7218 GB, free: 5.293 MB / 0.5137 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)