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.001137/0.001138, allocations: 115.4 kB / 16.39 MB, free: 5.957 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.001338/0.001338, allocations: 191 kB / 17.32 MB, free: 5.578 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.225/1.225, 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.001984/0.001984, allocations: 282.7 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 0.889/0.889, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 99.84 kB / 0.682 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4251, allocations: 86.96 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003514/0.4286, allocations: 2.918 MB / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.4296, allocations: 0.6972 MB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.4297, allocations: 11.94 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.4299, allocations: 67.42 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.4301, allocations: 126.9 kB / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.4302, allocations: 47.94 kB / 0.7707 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.4305, allocations: 374.1 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4307, allocations: 103.4 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.4309, allocations: 143.5 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.4311, allocations: 143.3 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.4311, allocations: 31.94 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.863e-05/0.4312, allocations: 24 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.4312, allocations: 55.83 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.4313, allocations: 155.2 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.4316, allocations: 317.5 kB / 0.772 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4316, allocations: 0 / 0.772 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4316, allocations: 0 / 0.772 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4316, allocations: 0 / 0.772 GB, free: 14.74 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.000701/0.4323, allocations: 0.5807 MB / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4324, allocations: 12.03 kB / 0.7726 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.4324, allocations: 36.5 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4327, allocations: 280.3 kB / 0.7729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4327, allocations: 20.94 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.4328, allocations: 24.38 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.4332, allocations: 241.2 kB / 0.7732 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4332, allocations: 0 / 0.7732 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.4332, allocations: 19.94 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4332, allocations: 4 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.4336, allocations: 194.2 kB / 0.7734 GB, free: 13.26 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.001355/0.4349, allocations: 1.281 MB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.4357, allocations: 262.3 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4358, allocations: 68.78 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.4358, allocations: 4 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4358, allocations: 38.56 kB / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.4359, allocations: 0 / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001053/0.4369, allocations: 0.6482 MB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.4369, allocations: 51.41 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.4372, allocations: 295.4 kB / 0.776 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4372, allocations: 29.7 kB / 0.776 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4373, allocations: 219.3 kB / 0.7762 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.4374, allocations: 63.09 kB / 0.7763 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.4375, allocations: 65.61 kB / 0.7763 GB, free: 9.938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4376, allocations: 342.8 kB / 0.7766 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4377, allocations: 76.34 kB / 0.7767 GB, free: 9.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.438, allocations: 190.2 kB / 0.7769 GB, free: 9.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.439, allocations: 494.7 kB / 0.7774 GB, free: 8.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.439, allocations: 3.938 kB / 0.7774 GB, free: 8.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000626/0.4396, allocations: 416.7 kB / 0.7778 GB, free: 8.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4396, allocations: 15.94 kB / 0.7778 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4396, allocations: 4 kB / 0.7778 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.4399, allocations: 79.39 kB / 0.7779 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.4402, allocations: 79.84 kB / 0.7779 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.4435, allocations: 5.526 MB / 0.7833 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.4437, allocations: 43.52 kB / 0.7834 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.4437, allocations: 16 kB / 0.7834 GB, free: 1.988 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.0003016/0.444, allocations: 170.9 kB / 0.7836 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.4441, allocations: 27.66 kB / 0.7836 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.4441, allocations: 38.3 kB / 0.7836 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4441, allocations: 0 / 0.7836 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.4441, allocations: 0 / 0.7836 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.4442, allocations: 7.984 kB / 0.7836 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.4445, allocations: 301.4 kB / 0.7839 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4445, allocations: 3.938 kB / 0.7839 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.4447, allocations: 27.98 kB / 0.7839 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.4449, allocations: 83.33 kB / 0.784 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4449, allocations: 8 kB / 0.784 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.448, allocations: 5.511 MB / 0.7894 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.448, allocations: 0 / 0.7894 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.4486, allocations: 413.6 kB / 0.7898 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.4487, allocations: 112.7 kB / 0.7899 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.4487, allocations: 128 / 0.7899 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.4488, allocations: 12 kB / 0.7899 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.4489, allocations: 19.97 kB / 0.7899 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.4489, allocations: 7.938 kB / 0.79 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001549/0.4491, allocations: 194 kB / 0.7901 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4491, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004161/0.4495, allocations: 91.94 kB / 0.7902 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.0001039/0.4496, allocations: 99.25 kB / 0.7903 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.4504, allocations: 0.6633 MB / 0.791 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4504, allocations: 0 / 0.791 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.4509, allocations: 0.5339 MB / 0.7915 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.4513, allocations: 55.36 kB / 0.7915 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4523, allocations: 0.7755 MB / 0.7923 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.4526, allocations: 0.7606 MB / 0.793 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.4527, allocations: 35.42 kB / 0.7931 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4527, allocations: 0 / 0.7931 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of Templates: time 0.008368/0.4611, allocations: 8.108 MB / 0.801 GB, free: 15.11 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)