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.004877/0.004877, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.00129/0.00129, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 290.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 95.78 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.166, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.00377/0.1698, allocations: 2.916 MB / 0.7692 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1709, allocations: 0.6855 MB / 0.7699 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1711, allocations: 15.88 kB / 0.7699 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1712, allocations: 67.48 kB / 0.77 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1715, allocations: 130.9 kB / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.1716, allocations: 55.92 kB / 0.7701 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1719, allocations: 374 kB / 0.7705 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1721, allocations: 107.8 kB / 0.7706 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1722, allocations: 143.5 kB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1724, allocations: 143.3 kB / 0.7709 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1725, allocations: 20 kB / 0.7709 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.1725, allocations: 28 kB / 0.7709 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1726, allocations: 55.77 kB / 0.771 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1727, allocations: 159.2 kB / 0.7711 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.173, allocations: 314.8 kB / 0.7714 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.173, allocations: 0 / 0.7714 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.173, allocations: 0 / 0.7714 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.173, allocations: 4 kB / 0.7714 GB, free: 3.258 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006911/0.1737, allocations: 0.5768 MB / 0.772 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1737, allocations: 12.02 kB / 0.772 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.1738, allocations: 40.47 kB / 0.772 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.174, allocations: 283.6 kB / 0.7723 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1741, allocations: 20.94 kB / 0.7723 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.1741, allocations: 28.38 kB / 0.7723 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1745, allocations: 241.1 kB / 0.7726 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1745, allocations: 4 kB / 0.7726 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1746, allocations: 8 kB / 0.7726 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1746, allocations: 8 kB / 0.7726 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.1749, allocations: 186.2 kB / 0.7728 GB, free: 1.777 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.001328/0.1762, allocations: 1.293 MB / 0.774 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.177, allocations: 258.5 kB / 0.7743 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.313/0.49, allocations: 56.23 kB / 0.7743 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.4901, allocations: 1.875 kB / 0.7743 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4901, allocations: 35 kB / 0.7744 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.946e-06/0.4902, allocations: 1.672 kB / 0.7744 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001256/0.4914, allocations: 0.6476 MB / 0.775 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.4915, allocations: 53.34 kB / 0.7751 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.4917, allocations: 285.9 kB / 0.7753 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.4918, allocations: 26.8 kB / 0.7754 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.4919, allocations: 220 kB / 0.7756 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.4919, allocations: 68 kB / 0.7756 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.492, allocations: 68.14 kB / 0.7757 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.4921, allocations: 341.8 kB / 0.776 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4922, allocations: 76.8 kB / 0.7761 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.4924, allocations: 190.3 kB / 0.7763 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4935, allocations: 493.4 kB / 0.7767 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4935, allocations: 1 kB / 0.7767 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006803/0.4942, allocations: 422 kB / 0.7771 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4942, allocations: 8.359 kB / 0.7772 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4942, allocations: 3.375 kB / 0.7772 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.4945, allocations: 88.36 kB / 0.7772 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.4948, allocations: 81.55 kB / 0.7773 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.4972, allocations: 5.514 MB / 0.7827 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4975, allocations: 43.22 kB / 0.7827 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.4975, allocations: 13.39 kB / 0.7828 GB, free: 8.07 MB / 0.5606 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.0002218/0.4977, allocations: 177.1 kB / 0.7829 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.4978, allocations: 24.62 kB / 0.783 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.4978, allocations: 39.56 kB / 0.783 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4978, allocations: 2.5 kB / 0.783 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4978, allocations: 1.969 kB / 0.783 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4979, allocations: 3.625 kB / 0.783 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.4981, allocations: 306.8 kB / 0.7833 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4982, allocations: 4 kB / 0.7833 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.4984, allocations: 35.95 kB / 0.7833 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.4986, allocations: 80.02 kB / 0.7834 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4986, allocations: 5.656 kB / 0.7834 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.5012, allocations: 5.509 MB / 0.7888 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5012, allocations: 1.125 kB / 0.7888 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.5018, allocations: 418.4 kB / 0.7892 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.5018, allocations: 102 kB / 0.7893 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.5019, allocations: 9.312 kB / 0.7893 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.502, allocations: 7.891 kB / 0.7893 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.5021, allocations: 21.89 kB / 0.7893 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5021, allocations: 2.812 kB / 0.7893 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001853/0.5023, allocations: 193.5 kB / 0.7895 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5023, allocations: 0 / 0.7895 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004262/0.5027, allocations: 99.19 kB / 0.7896 GB, free: 17.41 MB / 0.5762 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.0001081/0.5028, allocations: 101.6 kB / 0.7897 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.5036, allocations: 0.6655 MB / 0.7904 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5036, allocations: 0 / 0.7904 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.5041, allocations: 0.5267 MB / 0.7909 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.5045, allocations: 60.45 kB / 0.7909 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5055, allocations: 0.7491 MB / 0.7917 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5058, allocations: 0.7641 MB / 0.7924 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.5059, allocations: 31.03 kB / 0.7924 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.506, allocations: 23.2 kB / 0.7925 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.506, allocations: 4 kB / 0.7925 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of Templates: time 0.007303/0.5133, allocations: 3.961 MB / 0.7963 GB, free: 14.81 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)