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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 278.9 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001679, allocations: 100.5 kB / 0.5952 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1426, allocations: 86.98 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003733/0.1463, allocations: 2.893 MB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.1473, allocations: 0.7011 MB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1474, allocations: 15.94 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1476, allocations: 67.48 kB / 0.6838 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1479, allocations: 126.9 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.148, allocations: 55.88 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1483, allocations: 366.1 kB / 0.6843 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1485, allocations: 104.1 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1487, allocations: 139.4 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1489, allocations: 147.3 kB / 0.6847 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.1489, allocations: 24 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.149, allocations: 24 kB / 0.6847 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1491, allocations: 59.7 kB / 0.6848 GB, free: 12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1492, allocations: 159.2 kB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1495, allocations: 310.8 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1495, allocations: 7.938 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1495, allocations: 0 / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1495, allocations: 0 / 0.6852 GB, free: 11.54 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.0007296/0.1502, allocations: 0.573 MB / 0.6858 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1503, allocations: 15.97 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.1503, allocations: 32.56 kB / 0.6858 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1506, allocations: 287.6 kB / 0.6861 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1506, allocations: 16.94 kB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.1507, allocations: 32.38 kB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1511, allocations: 241.2 kB / 0.6864 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1511, allocations: 0 / 0.6864 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1511, allocations: 12 kB / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1511, allocations: 4 kB / 0.6864 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.1515, allocations: 194.2 kB / 0.6866 GB, free: 10.05 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.001546/0.153, allocations: 1.297 MB / 0.6878 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.1538, allocations: 254.4 kB / 0.6881 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.154, allocations: 68.84 kB / 0.6882 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.154, allocations: 0 / 0.6882 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.154, allocations: 34.5 kB / 0.6882 GB, free: 8.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.154, allocations: 0 / 0.6882 GB, free: 8.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001159/0.1552, allocations: 0.6516 MB / 0.6888 GB, free: 7.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1553, allocations: 55.41 kB / 0.6889 GB, free: 7.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.1555, allocations: 287.2 kB / 0.6891 GB, free: 7.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1556, allocations: 33.7 kB / 0.6892 GB, free: 7.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1557, allocations: 211.3 kB / 0.6894 GB, free: 6.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.1558, allocations: 67.08 kB / 0.6894 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.1559, allocations: 69.61 kB / 0.6895 GB, free: 6.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.156, allocations: 338.8 kB / 0.6898 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1561, allocations: 76.34 kB / 0.6899 GB, free: 6.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1564, allocations: 190.4 kB / 0.6901 GB, free: 6.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.1575, allocations: 0.489 MB / 0.6906 GB, free: 5.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1575, allocations: 7.938 kB / 0.6906 GB, free: 5.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006846/0.1582, allocations: 424.2 kB / 0.691 GB, free: 5.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1582, allocations: 7.938 kB / 0.691 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1582, allocations: 4.406 kB / 0.691 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.1585, allocations: 87.39 kB / 0.6911 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.1588, allocations: 75.91 kB / 0.6911 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/0.1622, allocations: 5.515 MB / 0.6965 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.1624, allocations: 43.52 kB / 0.6966 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.1625, allocations: 20.12 kB / 0.6966 GB, free: 14.77 MB / 0.4981 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.0002533/0.1627, allocations: 174.2 kB / 0.6968 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1628, allocations: 31.56 kB / 0.6968 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.1629, allocations: 34.3 kB / 0.6968 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1629, allocations: 4 kB / 0.6968 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1629, allocations: 0 / 0.6968 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1629, allocations: 3.984 kB / 0.6968 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.1632, allocations: 301.3 kB / 0.6971 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1632, allocations: 7.938 kB / 0.6971 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.1634, allocations: 35.92 kB / 0.6972 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.1636, allocations: 79.39 kB / 0.6972 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1637, allocations: 8 kB / 0.6972 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.167, allocations: 5.507 MB / 0.7026 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.167, allocations: 4.156 kB / 0.7026 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.1676, allocations: 423.8 kB / 0.703 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.1677, allocations: 100.8 kB / 0.7031 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1677, allocations: 8 kB / 0.7031 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1679, allocations: 4 kB / 0.7031 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1679, allocations: 15.97 kB / 0.7031 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.168, allocations: 8 kB / 0.7032 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001631/0.1681, allocations: 194 kB / 0.7033 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1681, allocations: 0 / 0.7033 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004306/0.1686, allocations: 91.84 kB / 0.7034 GB, free: 7.09 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.0001002/0.1687, allocations: 112.3 kB / 0.7035 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007801/0.1695, allocations: 0.6625 MB / 0.7042 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1695, allocations: 0 / 0.7042 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.17, allocations: 0.5246 MB / 0.7047 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1704, allocations: 60.62 kB / 0.7048 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1715, allocations: 0.7648 MB / 0.7055 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1718, allocations: 0.7683 MB / 0.7063 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.1719, allocations: 38.95 kB / 0.7063 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.1719, allocations: 27.44 kB / 0.7063 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.172, allocations: 0 / 0.7063 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of Templates: time 0.0077/0.1797, allocations: 3.883 MB / 0.7101 GB, free: 140 kB / 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)