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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 143.4 MB / 159.2 MB, free: 4.852 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 190 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 99.77 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 286.8 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 79.86 kB / 0.6886 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4675, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.004631/0.4722, allocations: 1.894 MB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.4737, allocations: 0.6896 MB / 0.7705 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.4738, allocations: 0 / 0.7705 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.4741, allocations: 31.83 kB / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.4744, allocations: 63.66 kB / 0.7705 GB, free: 24.97 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.4747, allocations: 51.94 kB / 0.7706 GB, free: 24.92 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.4751, allocations: 295.2 kB / 0.7709 GB, free: 24.63 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.4752, allocations: 47.77 kB / 0.7709 GB, free: 24.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.4754, allocations: 95.69 kB / 0.771 GB, free: 24.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.4757, allocations: 111.6 kB / 0.7711 GB, free: 24.39 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.4757, allocations: 12 kB / 0.7711 GB, free: 24.38 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.4758, allocations: 12 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.4759, allocations: 51.83 kB / 0.7712 GB, free: 24.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.4761, allocations: 91.58 kB / 0.7713 GB, free: 24.22 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.4763, allocations: 235.2 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4764, allocations: 4 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4764, allocations: 3.938 kB / 0.7715 GB, free: 23.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4764, allocations: 0 / 0.7715 GB, free: 23.98 MB / 458.7 MB 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.001096/0.4775, allocations: 0.5317 MB / 0.772 GB, free: 23.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4776, allocations: 16.03 kB / 0.772 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.4777, allocations: 16.75 kB / 0.7721 GB, free: 23.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4779, allocations: 224.5 kB / 0.7723 GB, free: 23.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.478, allocations: 12.38 kB / 0.7723 GB, free: 23.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.4781, allocations: 12.38 kB / 0.7723 GB, free: 23.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.4785, allocations: 201.9 kB / 0.7725 GB, free: 22.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4785, allocations: 0 / 0.7725 GB, free: 22.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.4786, allocations: 8 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4786, allocations: 8 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.479, allocations: 123.6 kB / 0.7726 GB, free: 22.74 MB / 458.7 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.001391/0.4804, allocations: 1.002 MB / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.4815, allocations: 206.3 kB / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.4817, allocations: 84.89 kB / 0.7739 GB, free: 21.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4817, allocations: 3.984 kB / 0.7739 GB, free: 21.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.4818, allocations: 30.56 kB / 0.7739 GB, free: 21.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.993e-06/0.4818, allocations: 0 / 0.7739 GB, free: 21.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006797/0.4825, allocations: 233.3 kB / 0.7741 GB, free: 21.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.4825, allocations: 51.41 kB / 0.7742 GB, free: 20.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.4828, allocations: 226.6 kB / 0.7744 GB, free: 20.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4828, allocations: 33.7 kB / 0.7744 GB, free: 20.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.4829, allocations: 140 kB / 0.7746 GB, free: 20.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.483, allocations: 31.55 kB / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.4831, allocations: 53.7 kB / 0.7746 GB, free: 20.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.4832, allocations: 330.8 kB / 0.775 GB, free: 20.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.4835, allocations: 155.9 kB / 0.7751 GB, free: 19.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4839, allocations: 205.1 kB / 0.7753 GB, free: 19.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.4865, allocations: 0.9035 MB / 0.7762 GB, free: 18.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4865, allocations: 11.88 kB / 0.7762 GB, free: 18.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009641/0.4874, allocations: 0.5027 MB / 0.7767 GB, free: 18.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/0.4875, allocations: 61.67 kB / 0.7768 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4876, allocations: 0 / 0.7768 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4876, allocations: 4 kB / 0.7768 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.4879, allocations: 43.97 kB / 0.7768 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.488, allocations: 4 kB / 0.7768 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.4883, allocations: 35.67 kB / 0.7768 GB, free: 18.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.4883, allocations: 12.16 kB / 0.7768 GB, free: 18.13 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = max(0.0, 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 = max(0.0, 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 = max(0.0, 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 = max(0.0, 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 = max(0.0, 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.000347/0.4887, allocations: 186.3 kB / 0.777 GB, free: 17.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.4888, allocations: 15.81 kB / 0.777 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.4889, allocations: 21.41 kB / 0.7771 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4889, allocations: 0 / 0.7771 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.4889, allocations: 3.984 kB / 0.7771 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4889, allocations: 0 / 0.7771 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.4892, allocations: 229.4 kB / 0.7773 GB, free: 17.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4892, allocations: 0 / 0.7773 GB, free: 17.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.4896, allocations: 39.92 kB / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4897, allocations: 0 / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.4897, allocations: 7.984 kB / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4897, allocations: 0 / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4897, allocations: 0 / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.4933, allocations: 1.977 MB / 0.7793 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.4934, allocations: 88.92 kB / 0.7793 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.4935, allocations: 8.047 kB / 0.7793 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.4937, allocations: 7.938 kB / 0.7794 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.4938, allocations: 11.97 kB / 0.7794 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4938, allocations: 0 / 0.7794 GB, free: 15.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.494, allocations: 152.6 kB / 0.7795 GB, free: 15.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.494, allocations: 0 / 0.7795 GB, free: 15.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.4947, allocations: 87.84 kB / 0.7796 GB, free: 15.11 MB / 458.7 MB 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.0001406/0.4949, allocations: 108.4 kB / 0.7797 GB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4959, allocations: 0.6123 MB / 0.7803 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4959, allocations: 3.938 kB / 0.7803 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4961, allocations: 72.02 kB / 0.7804 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.4967, allocations: 34.17 kB / 0.7804 GB, free: 14.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.4985, allocations: 0.8629 MB / 0.7812 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4987, allocations: 0.74 MB / 0.782 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.499, allocations: 44.61 kB / 0.782 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.4991, allocations: 15.44 kB / 0.782 GB, free: 12.53 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4991, allocations: 3.938 kB / 0.782 GB, free: 12.52 MB / 458.7 MB Notification: Performance of Templates: time 0.008208/0.5073, allocations: 2.838 MB / 0.7848 GB, free: 9.711 MB / 458.7 MB 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)