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.00117/0.001171, allocations: 97.56 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.008118/0.008118, allocations: 168.5 kB / 16.26 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 270.8 kB / 291.7 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9344/0.9344, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 17.06 kB / 0.5986 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.002701/0.1562, allocations: 2.573 MB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.1571, allocations: 0.6823 MB / 0.6883 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1572, allocations: 16.38 kB / 0.6883 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1574, allocations: 57.97 kB / 0.6884 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1576, allocations: 111.1 kB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1577, allocations: 39.97 kB / 0.6885 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.158, allocations: 358.9 kB / 0.6888 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1582, allocations: 84.12 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1584, allocations: 127.4 kB / 0.6891 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1585, allocations: 135.3 kB / 0.6892 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1586, allocations: 12 kB / 0.6892 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.856e-05/0.1586, allocations: 16.78 kB / 0.6892 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.1587, allocations: 43.77 kB / 0.6892 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1588, allocations: 166.4 kB / 0.6894 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1591, allocations: 302.7 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1591, allocations: 0 / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1591, allocations: 0 / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1591, allocations: 0.6562 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB 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.0006615/0.1598, allocations: 0.5291 MB / 0.6902 GB, free: 9.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1598, allocations: 12.59 kB / 0.6902 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.1599, allocations: 36.5 kB / 0.6903 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1602, allocations: 293 kB / 0.6905 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1602, allocations: 20.94 kB / 0.6906 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.1602, allocations: 28.36 kB / 0.6906 GB, free: 9.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.1607, allocations: 241.2 kB / 0.6908 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1607, allocations: 0 / 0.6908 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1607, allocations: 8 kB / 0.6908 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1607, allocations: 11.94 kB / 0.6908 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.1611, allocations: 202.1 kB / 0.691 GB, free: 8.938 MB / 494.1 MB 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.001404/0.1625, allocations: 1.309 MB / 0.6923 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.1633, allocations: 266.4 kB / 0.6926 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1634, allocations: 64.83 kB / 0.6926 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1635, allocations: 4 kB / 0.6926 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1635, allocations: 34.56 kB / 0.6927 GB, free: 7.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1635, allocations: 0 / 0.6927 GB, free: 7.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001162/0.1647, allocations: 0.6595 MB / 0.6933 GB, free: 6.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1647, allocations: 55.41 kB / 0.6934 GB, free: 6.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.165, allocations: 283.2 kB / 0.6936 GB, free: 5.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.165, allocations: 25.7 kB / 0.6937 GB, free: 5.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1651, allocations: 219.3 kB / 0.6939 GB, free: 5.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1652, allocations: 67.05 kB / 0.6939 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.1652, allocations: 41.69 kB / 0.694 GB, free: 5.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1653, allocations: 334.8 kB / 0.6943 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1655, allocations: 80.34 kB / 0.6944 GB, free: 5.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1657, allocations: 194.2 kB / 0.6945 GB, free: 4.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1668, allocations: 0.4923 MB / 0.695 GB, free: 4.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1669, allocations: 7.875 kB / 0.695 GB, free: 4.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006836/0.1675, allocations: 432.7 kB / 0.6954 GB, free: 3.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1676, allocations: 9.5 kB / 0.6955 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1676, allocations: 7.984 kB / 0.6955 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.1679, allocations: 87.39 kB / 0.6955 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1681, allocations: 79.84 kB / 0.6956 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.1714, allocations: 5.128 MB / 0.7006 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.1716, allocations: 43.53 kB / 0.7007 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.1717, allocations: 16 kB / 0.7007 GB, free: 14.04 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.0003284/0.172, allocations: 190 kB / 0.7009 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.1721, allocations: 27.66 kB / 0.7009 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.1721, allocations: 34.3 kB / 0.7009 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1722, allocations: 8 kB / 0.7009 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1722, allocations: 3.984 kB / 0.7009 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1722, allocations: 0 / 0.7009 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1725, allocations: 305.3 kB / 0.7012 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1725, allocations: 3.938 kB / 0.7012 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.1727, allocations: 31.98 kB / 0.7013 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.1729, allocations: 79.39 kB / 0.7013 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.173, allocations: 8 kB / 0.7013 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.1761, allocations: 5.12 MB / 0.7063 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1761, allocations: 3.938 kB / 0.7063 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.1767, allocations: 429.2 kB / 0.7068 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.1768, allocations: 100.8 kB / 0.7069 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1768, allocations: 4.062 kB / 0.7069 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.177, allocations: 11.92 kB / 0.7069 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.177, allocations: 15.98 kB / 0.7069 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1771, allocations: 4 kB / 0.7069 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001648/0.1772, allocations: 190 kB / 0.7071 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1772, allocations: 0 / 0.7071 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004181/0.1777, allocations: 95.91 kB / 0.7072 GB, free: 6.766 MB / 0.4981 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.0001021/0.1778, allocations: 111.1 kB / 0.7073 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007593/0.1785, allocations: 0.6703 MB / 0.7079 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1786, allocations: 0 / 0.7079 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.1791, allocations: 0.5271 MB / 0.7084 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1795, allocations: 58.44 kB / 0.7085 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1806, allocations: 0.9516 MB / 0.7094 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1809, allocations: 0.7645 MB / 0.7102 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.1811, allocations: 34.91 kB / 0.7102 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.1811, allocations: 31.38 kB / 0.7102 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1811, allocations: 0 / 0.7102 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.007073/0.1882, allocations: 3.658 MB / 0.7138 GB, free: 15.85 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)