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.00128/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001279/0.001279, allocations: 188.2 kB / 16.25 MB, free: 6.621 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 282.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.507 GB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002923, allocations: 95.75 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1624, allocations: 89.15 MB / 0.693 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004232/0.1667, allocations: 2.953 MB / 0.6958 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1678, allocations: 0.6978 MB / 0.6965 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.168, allocations: 11.94 kB / 0.6965 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1682, allocations: 53.14 kB / 0.6966 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1684, allocations: 107.8 kB / 0.6967 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1686, allocations: 51.89 kB / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.169, allocations: 367.7 kB / 0.6971 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1692, allocations: 107.9 kB / 0.6972 GB, free: 344 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1694, allocations: 131.5 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1696, allocations: 155.3 kB / 0.6975 GB, free: 56 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.1696, allocations: 20 kB / 0.6975 GB, free: 36 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.703e-05/0.1697, allocations: 28 kB / 0.6975 GB, free: 8 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.1698, allocations: 51.77 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1699, allocations: 159.2 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.1703, allocations: 319.1 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.1703, allocations: 4 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1703, allocations: 0 / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.1703, allocations: 0 / 0.698 GB, free: 15.48 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.000826/0.1711, allocations: 0.5691 MB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1712, allocations: 11.97 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1712, allocations: 36.56 kB / 0.6986 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1716, allocations: 291.6 kB / 0.6989 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1716, allocations: 20.88 kB / 0.6989 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.1717, allocations: 24.38 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.1721, allocations: 241.2 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1721, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1722, allocations: 11.98 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1722, allocations: 8 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.1726, allocations: 194.2 kB / 0.6994 GB, free: 14 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.001621/0.1742, allocations: 1.285 MB / 0.7006 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.1751, allocations: 266.4 kB / 0.7009 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1752, allocations: 60.84 kB / 0.701 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1752, allocations: 4 kB / 0.701 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1753, allocations: 30.56 kB / 0.701 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.1753, allocations: 0 / 0.701 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001258/0.1765, allocations: 0.6495 MB / 0.7016 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1766, allocations: 51.41 kB / 0.7017 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1769, allocations: 295.2 kB / 0.7019 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1769, allocations: 25.7 kB / 0.702 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1771, allocations: 219.3 kB / 0.7022 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.1772, allocations: 63.09 kB / 0.7022 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1773, allocations: 65.61 kB / 0.7023 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1774, allocations: 342.8 kB / 0.7026 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1776, allocations: 76.34 kB / 0.7027 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.1779, allocations: 194.1 kB / 0.7029 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.1791, allocations: 492.8 kB / 0.7034 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1791, allocations: 3.938 kB / 0.7034 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007575/0.1798, allocations: 424.3 kB / 0.7038 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1799, allocations: 11.94 kB / 0.7038 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1799, allocations: 4 kB / 0.7038 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.1802, allocations: 91.67 kB / 0.7039 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.1805, allocations: 75.91 kB / 0.7039 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.1847, allocations: 5.518 MB / 0.7093 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.185, allocations: 43.62 kB / 0.7094 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.1851, allocations: 20 kB / 0.7094 GB, free: 2.727 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.000337/0.1854, allocations: 179.4 kB / 0.7096 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1855, allocations: 27.66 kB / 0.7096 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.1855, allocations: 34.3 kB / 0.7096 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1856, allocations: 0 / 0.7096 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1856, allocations: 4 kB / 0.7096 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1856, allocations: 0 / 0.7096 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.186, allocations: 313.4 kB / 0.7099 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.186, allocations: 3.938 kB / 0.7099 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.1862, allocations: 35.92 kB / 0.71 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.1865, allocations: 83.39 kB / 0.71 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1865, allocations: 0 / 0.71 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/0.1906, allocations: 5.519 MB / 0.7154 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1906, allocations: 0 / 0.7154 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.1913, allocations: 420.8 kB / 0.7158 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.1914, allocations: 108.7 kB / 0.7159 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1915, allocations: 4 kB / 0.7159 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1916, allocations: 12 kB / 0.716 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.1917, allocations: 15.97 kB / 0.716 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1917, allocations: 4 kB / 0.716 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001938/0.1919, allocations: 194 kB / 0.7162 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1919, allocations: 0 / 0.7162 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004645/0.1924, allocations: 87.91 kB / 0.7162 GB, free: 11.04 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.0001191/0.1925, allocations: 107.2 kB / 0.7163 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009188/0.1935, allocations: 0.6703 MB / 0.717 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1935, allocations: 0 / 0.717 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.1941, allocations: 0.5282 MB / 0.7175 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1945, allocations: 60.67 kB / 0.7176 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1958, allocations: 0.8633 MB / 0.7184 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1962, allocations: 0.7606 MB / 0.7192 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.1964, allocations: 34.95 kB / 0.7192 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1964, allocations: 27.42 kB / 0.7192 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1965, allocations: 0 / 0.7192 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of Templates: time 0.008652/0.2051, allocations: 3.895 MB / 0.723 GB, free: 3.984 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)