Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004848/0.004848, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001126/0.001126, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 279 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 95.78 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.159, allocations: 86.96 MB / 0.7663 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003043/0.1621, allocations: 1.836 MB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1632, allocations: 0.6934 MB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1634, allocations: 4 kB / 0.7688 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1636, allocations: 35.77 kB / 0.7689 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1639, allocations: 55.61 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1641, allocations: 67.89 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.1646, allocations: 275.2 kB / 0.7692 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1647, allocations: 53.08 kB / 0.7693 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1649, allocations: 103.8 kB / 0.7694 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1651, allocations: 111.6 kB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.1652, allocations: 20 kB / 0.7695 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.1652, allocations: 16 kB / 0.7695 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1653, allocations: 55.83 kB / 0.7696 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1654, allocations: 107.6 kB / 0.7697 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1657, allocations: 235.1 kB / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1657, allocations: 0 / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1657, allocations: 3.938 kB / 0.7699 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1657, allocations: 0 / 0.7699 GB, free: 4.816 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008682/0.1666, allocations: 0.5548 MB / 0.7705 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1666, allocations: 8.031 kB / 0.7705 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.1667, allocations: 20.8 kB / 0.7705 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1669, allocations: 228.1 kB / 0.7707 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1669, allocations: 12.38 kB / 0.7707 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.167, allocations: 16.38 kB / 0.7707 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1673, allocations: 197.7 kB / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1673, allocations: 0 / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1674, allocations: 4 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1674, allocations: 4 kB / 0.7709 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.1676, allocations: 128.1 kB / 0.771 GB, free: 3.551 MB / 0.5606 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.001075/0.1687, allocations: 0.9981 MB / 0.772 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.1694, allocations: 214.3 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1695, allocations: 76.8 kB / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1695, allocations: 0 / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.1696, allocations: 34.56 kB / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.1696, allocations: 0 / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004656/0.17, allocations: 237.4 kB / 0.7726 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1701, allocations: 51.41 kB / 0.7726 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1703, allocations: 223.1 kB / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1703, allocations: 29.7 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.1704, allocations: 140.3 kB / 0.773 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1705, allocations: 35.73 kB / 0.773 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.1706, allocations: 57.66 kB / 0.7731 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1707, allocations: 330.8 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1709, allocations: 159.9 kB / 0.7735 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.1712, allocations: 202.2 kB / 0.7737 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3663/0.5375, allocations: 0.8905 MB / 0.7746 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.5375, allocations: 1.031 kB / 0.7746 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007858/0.5383, allocations: 0.4988 MB / 0.7751 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/0.5384, allocations: 63.48 kB / 0.7751 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5384, allocations: 2.938 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.5384, allocations: 2.75 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.5387, allocations: 49 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.5387, allocations: 3.125 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.5389, allocations: 39.41 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.5389, allocations: 9.406 kB / 0.7753 GB, free: 14.66 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.5391, allocations: 175.7 kB / 0.7754 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.5392, allocations: 15.28 kB / 0.7754 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.5393, allocations: 26.5 kB / 0.7755 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5393, allocations: 2.281 kB / 0.7755 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5393, allocations: 2.688 kB / 0.7755 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5393, allocations: 0.7969 kB / 0.7755 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.5395, allocations: 229.3 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5395, allocations: 0.6875 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.5398, allocations: 35.12 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5398, allocations: 7.188 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.5398, allocations: 7.406 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5398, allocations: 0.6094 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5398, allocations: 1.094 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.5403, allocations: 343.1 kB / 0.7761 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.5403, allocations: 98.14 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.5404, allocations: 7.047 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5405, allocations: 10.31 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5405, allocations: 4.406 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5405, allocations: 5.078 kB / 0.7762 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000144/0.5407, allocations: 161.3 kB / 0.7763 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5407, allocations: 0 / 0.7763 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003336/0.541, allocations: 56.62 kB / 0.7764 GB, free: 14.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.5412, allocations: 108.2 kB / 0.7765 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009166/0.5421, allocations: 0.6085 MB / 0.7771 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5421, allocations: 0 / 0.7771 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.5423, allocations: 71.3 kB / 0.7772 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5426, allocations: 34.31 kB / 0.7772 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.5437, allocations: 0.6932 MB / 0.7779 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.5439, allocations: 0.7418 MB / 0.7786 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.544, allocations: 40.06 kB / 0.7786 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.5441, allocations: 14.09 kB / 0.7786 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5441, allocations: 0.7188 kB / 0.7786 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.005402/0.5495, allocations: 2.424 MB / 0.781 GB, free: 12.55 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)