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.001395/0.001395, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001768/0.001768, allocations: 192.7 kB / 16.13 MB, free: 6.711 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 292.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 91.53 kB / 0.5945 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1525, allocations: 86.98 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003735/0.1563, allocations: 2.938 MB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.1572, allocations: 0.6894 MB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1574, allocations: 15.88 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1576, allocations: 55.66 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1578, allocations: 119.1 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.158, allocations: 43.97 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1582, allocations: 350.1 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1584, allocations: 88.7 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1586, allocations: 131.4 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1587, allocations: 151.2 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.1588, allocations: 16 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.1588, allocations: 20 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1589, allocations: 43.78 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.159, allocations: 147.3 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.1593, allocations: 310.8 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1593, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1593, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1593, allocations: 0 / 0.6844 GB, free: 12.1 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.0007392/0.1601, allocations: 0.5808 MB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1601, allocations: 11.97 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.1602, allocations: 40.56 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1604, allocations: 287.6 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.1605, allocations: 16.94 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.1605, allocations: 28.38 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.161, allocations: 237.2 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1611, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1611, allocations: 12 kB / 0.6856 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1611, allocations: 4 kB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.1614, allocations: 198.1 kB / 0.6858 GB, free: 10.61 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.00144/0.1629, allocations: 1.285 MB / 0.687 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/0.1637, allocations: 266.4 kB / 0.6873 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1639, allocations: 60.83 kB / 0.6873 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1639, allocations: 4 kB / 0.6873 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1639, allocations: 30.56 kB / 0.6874 GB, free: 8.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1639, allocations: 4 kB / 0.6874 GB, free: 8.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001153/0.1651, allocations: 0.6517 MB / 0.688 GB, free: 8.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1651, allocations: 55.41 kB / 0.688 GB, free: 7.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1654, allocations: 283.2 kB / 0.6883 GB, free: 7.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1654, allocations: 25.7 kB / 0.6883 GB, free: 7.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1656, allocations: 223.2 kB / 0.6886 GB, free: 7.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.1656, allocations: 59.11 kB / 0.6886 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1657, allocations: 73.59 kB / 0.6887 GB, free: 7.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1658, allocations: 342.8 kB / 0.689 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.166, allocations: 80.33 kB / 0.6891 GB, free: 6.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.1662, allocations: 190.2 kB / 0.6893 GB, free: 6.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1673, allocations: 492 kB / 0.6897 GB, free: 6.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1673, allocations: 7.938 kB / 0.6897 GB, free: 6.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006536/0.168, allocations: 420.5 kB / 0.6901 GB, free: 5.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.168, allocations: 11.94 kB / 0.6902 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.168, allocations: 4 kB / 0.6902 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.1683, allocations: 83.52 kB / 0.6902 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.1686, allocations: 83.78 kB / 0.6903 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.1718, allocations: 5.128 MB / 0.6953 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1721, allocations: 43.53 kB / 0.6954 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1721, allocations: 16 kB / 0.6954 GB, free: 15.75 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.0002999/0.1724, allocations: 187.3 kB / 0.6956 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1725, allocations: 31.56 kB / 0.6956 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.1725, allocations: 34.3 kB / 0.6956 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1725, allocations: 4 kB / 0.6956 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1726, allocations: 4 kB / 0.6956 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1726, allocations: 0 / 0.6956 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.1729, allocations: 297.5 kB / 0.6959 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1729, allocations: 0 / 0.6959 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1731, allocations: 35.97 kB / 0.696 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.1733, allocations: 79.39 kB / 0.696 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1733, allocations: 8 kB / 0.696 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.1764, allocations: 5.124 MB / 0.701 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1764, allocations: 0 / 0.701 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.1771, allocations: 422.4 kB / 0.7014 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.1771, allocations: 100.7 kB / 0.7015 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.1772, allocations: 12.05 kB / 0.7015 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1773, allocations: 7.938 kB / 0.7016 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.1774, allocations: 15.98 kB / 0.7016 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1774, allocations: 4 kB / 0.7016 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001659/0.1776, allocations: 197.9 kB / 0.7018 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1776, allocations: 0 / 0.7018 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004297/0.178, allocations: 91.91 kB / 0.7019 GB, free: 8.48 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.000112/0.1781, allocations: 111.1 kB / 0.702 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007874/0.1789, allocations: 0.6579 MB / 0.7026 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1789, allocations: 0 / 0.7026 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.1795, allocations: 0.526 MB / 0.7031 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.1799, allocations: 56.64 kB / 0.7032 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1811, allocations: 0.8531 MB / 0.704 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1814, allocations: 0.7645 MB / 0.7047 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.1815, allocations: 38.95 kB / 0.7048 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.1816, allocations: 19.44 kB / 0.7048 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1816, allocations: 7.938 kB / 0.7048 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.007015/0.1886, allocations: 3.712 MB / 0.7084 GB, free: 1.621 MB / 0.4981 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)