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.001662/0.001662, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001801/0.001801, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 284.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003972/0.003972, allocations: 91.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4931, allocations: 86.97 MB / 0.767 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003245/0.4964, allocations: 1.85 MB / 0.7688 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4976, allocations: 0.6857 MB / 0.7695 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.4977, allocations: 4 kB / 0.7695 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.4979, allocations: 31.77 kB / 0.7695 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.4981, allocations: 59.61 kB / 0.7696 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.4983, allocations: 67.83 kB / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.4987, allocations: 275.2 kB / 0.7699 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4989, allocations: 41.09 kB / 0.77 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.499, allocations: 103.7 kB / 0.7701 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.4992, allocations: 111.6 kB / 0.7702 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.4992, allocations: 20 kB / 0.7702 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.4993, allocations: 16 kB / 0.7702 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.4993, allocations: 55.88 kB / 0.7702 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.4995, allocations: 107.5 kB / 0.7703 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.4998, allocations: 241.2 kB / 0.7706 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4998, allocations: 0 / 0.7706 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4998, allocations: 0 / 0.7706 GB, free: 428 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4998, allocations: 0 / 0.7706 GB, free: 428 kB / 0.5294 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.0009656/0.5008, allocations: 0.5432 MB / 0.7711 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5008, allocations: 12.03 kB / 0.7711 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.5009, allocations: 20.8 kB / 0.7711 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.5012, allocations: 228.1 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5012, allocations: 8.375 kB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.5012, allocations: 12.38 kB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.5016, allocations: 206.6 kB / 0.7716 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5016, allocations: 7.938 kB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.5016, allocations: 8 kB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5017, allocations: 4 kB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.5019, allocations: 120.3 kB / 0.7717 GB, free: 15.16 MB / 0.545 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.001249/0.5031, allocations: 1.002 MB / 0.7727 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.5039, allocations: 210.3 kB / 0.7729 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.504, allocations: 68.81 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.5041, allocations: 8 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5041, allocations: 30.56 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5041, allocations: 3.938 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000526/0.5046, allocations: 225.5 kB / 0.7732 GB, free: 13.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.5047, allocations: 55.41 kB / 0.7733 GB, free: 13.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.5049, allocations: 227.6 kB / 0.7735 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5049, allocations: 25.7 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.505, allocations: 148.3 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.5051, allocations: 35.73 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.5052, allocations: 61.64 kB / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5053, allocations: 326.8 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.5056, allocations: 155.9 kB / 0.7742 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.5059, allocations: 213 kB / 0.7744 GB, free: 12.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.5077, allocations: 0.8822 MB / 0.7753 GB, free: 11.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5077, allocations: 0 / 0.7753 GB, free: 11.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007809/0.5085, allocations: 0.499 MB / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/0.5086, allocations: 65.67 kB / 0.7758 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5086, allocations: 0 / 0.7758 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5086, allocations: 7.938 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.5088, allocations: 47.91 kB / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5088, allocations: 4 kB / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.509, allocations: 47.66 kB / 0.7759 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.509, allocations: 8 kB / 0.7759 GB, free: 10.56 MB / 0.545 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.0002295/0.5093, allocations: 174.7 kB / 0.7761 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.5093, allocations: 11.91 kB / 0.7761 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.5094, allocations: 29.33 kB / 0.7761 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5094, allocations: 0 / 0.7761 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5094, allocations: 0 / 0.7761 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5094, allocations: 7.984 kB / 0.7761 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.5096, allocations: 233.5 kB / 0.7764 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5096, allocations: 0 / 0.7764 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5099, allocations: 35.97 kB / 0.7764 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5099, allocations: 0 / 0.7764 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5099, allocations: 8 kB / 0.7764 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5099, allocations: 4 kB / 0.7764 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5099, allocations: 0 / 0.7764 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.5104, allocations: 351.5 kB / 0.7767 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.5105, allocations: 92.95 kB / 0.7768 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.5105, allocations: 7.984 kB / 0.7768 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.5107, allocations: 4.062 kB / 0.7768 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.5107, allocations: 11.98 kB / 0.7768 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.5107, allocations: 0 / 0.7768 GB, free: 9.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001328/0.5109, allocations: 152.6 kB / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5109, allocations: 0 / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003148/0.5112, allocations: 63.95 kB / 0.7771 GB, free: 9.305 MB / 0.545 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.0001253/0.5113, allocations: 95.25 kB / 0.7771 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006758/0.512, allocations: 443.2 kB / 0.7776 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.512, allocations: 0 / 0.7776 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.5121, allocations: 71.88 kB / 0.7776 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.5124, allocations: 35.98 kB / 0.7777 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.5137, allocations: 0.6939 MB / 0.7784 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.5141, allocations: 0.7436 MB / 0.7791 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.5142, allocations: 36.61 kB / 0.7791 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.5142, allocations: 15.44 kB / 0.7791 GB, free: 7.117 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.5142, allocations: 4 kB / 0.7791 GB, free: 7.113 MB / 0.545 GB Notification: Performance of Templates: time 0.006057/0.5203, allocations: 2.437 MB / 0.7815 GB, free: 4.707 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)