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.001204/0.001204, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001159/0.001159, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 295.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9028/0.9028, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4014, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003532/0.405, allocations: 2.906 MB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.4059, allocations: 0.705 MB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.406, allocations: 11.94 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.4062, allocations: 63.42 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.4064, allocations: 127 kB / 0.7707 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.4066, allocations: 51.92 kB / 0.7708 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.4069, allocations: 370.1 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.4071, allocations: 107.4 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.4072, allocations: 139.5 kB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.4074, allocations: 155.2 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.4075, allocations: 24 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.4075, allocations: 24 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.4076, allocations: 55.77 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4077, allocations: 151.2 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.408, allocations: 321.4 kB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.408, allocations: 0 / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.408, allocations: 0 / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.408, allocations: 0 / 0.7721 GB, free: 14.73 MB / 0.545 GB 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.0006887/0.4087, allocations: 0.5846 MB / 0.7726 GB, free: 14.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.4087, allocations: 12.03 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.4088, allocations: 32.56 kB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.409, allocations: 280.3 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4091, allocations: 20.94 kB / 0.773 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.4091, allocations: 32.38 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.4095, allocations: 241.1 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4095, allocations: 0 / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.4096, allocations: 15.94 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4096, allocations: 4 kB / 0.7733 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.4099, allocations: 190.2 kB / 0.7734 GB, free: 13.25 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.001315/0.4112, allocations: 1.285 MB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.412, allocations: 270.4 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4121, allocations: 60.84 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.4121, allocations: 4 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4121, allocations: 34.5 kB / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.4121, allocations: 0 / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001039/0.4132, allocations: 0.6494 MB / 0.7757 GB, free: 10.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.4132, allocations: 59.34 kB / 0.7757 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4135, allocations: 283.5 kB / 0.776 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4135, allocations: 29.69 kB / 0.776 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.4136, allocations: 219.3 kB / 0.7762 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.4137, allocations: 63.09 kB / 0.7763 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.4138, allocations: 65.61 kB / 0.7764 GB, free: 9.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4139, allocations: 342.8 kB / 0.7767 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.414, allocations: 80.34 kB / 0.7768 GB, free: 9.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4142, allocations: 186.2 kB / 0.7769 GB, free: 9.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/0.4152, allocations: 493.1 kB / 0.7774 GB, free: 8.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-06/0.4152, allocations: 11.94 kB / 0.7774 GB, free: 8.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006198/0.4158, allocations: 416.7 kB / 0.7778 GB, free: 8.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4159, allocations: 14.28 kB / 0.7778 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4159, allocations: 4 kB / 0.7778 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.4161, allocations: 87.33 kB / 0.7779 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4164, allocations: 75.91 kB / 0.778 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.4195, allocations: 5.514 MB / 0.7834 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4198, allocations: 43.52 kB / 0.7834 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.4198, allocations: 16 kB / 0.7834 GB, free: 1.984 MB / 0.545 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.000275/0.4201, allocations: 179 kB / 0.7836 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.4201, allocations: 27.66 kB / 0.7836 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.4202, allocations: 38.23 kB / 0.7837 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4202, allocations: 0 / 0.7837 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4202, allocations: 4 kB / 0.7837 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4202, allocations: 0 / 0.7837 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.4205, allocations: 309.3 kB / 0.784 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.4205, allocations: 3.938 kB / 0.784 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.4207, allocations: 31.98 kB / 0.784 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.4209, allocations: 83.33 kB / 0.7841 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.421, allocations: 4 kB / 0.7841 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/0.424, allocations: 5.499 MB / 0.7895 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.424, allocations: 0 / 0.7895 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.4246, allocations: 415.4 kB / 0.7899 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.4247, allocations: 112.7 kB / 0.79 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.4247, allocations: 4 kB / 0.79 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4248, allocations: 8 kB / 0.79 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.4249, allocations: 23.91 kB / 0.79 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4249, allocations: 4 kB / 0.79 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001575/0.4251, allocations: 190 kB / 0.7902 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4251, allocations: 0 / 0.7902 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004208/0.4255, allocations: 91.94 kB / 0.7903 GB, free: 10.3 MB / 0.5606 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.000111/0.4256, allocations: 107.4 kB / 0.7904 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007504/0.4264, allocations: 0.6628 MB / 0.791 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4264, allocations: 0 / 0.791 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.4269, allocations: 0.526 MB / 0.7915 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.4273, allocations: 57.22 kB / 0.7916 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4283, allocations: 0.7868 MB / 0.7924 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4286, allocations: 0.7606 MB / 0.7931 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.4287, allocations: 31.42 kB / 0.7931 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.4287, allocations: 0 / 0.7931 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of Templates: time 0.008479/0.4372, allocations: 8.143 MB / 0.8011 GB, free: 15.07 MB / 0.5762 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)