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.005661/0.005661, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001336/0.001336, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.306/1.306, allocations: 222.9 MB / 240.4 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.001999/0.001999, allocations: 288.8 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9135/0.9135, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 92.23 kB / 0.6814 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.448, allocations: 87 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003836/0.4519, allocations: 2.894 MB / 0.7692 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.4529, allocations: 0.7011 MB / 0.7699 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.453, allocations: 11.94 kB / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.4533, allocations: 67.48 kB / 0.77 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.4535, allocations: 126.9 kB / 0.7701 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.4536, allocations: 51.86 kB / 0.7701 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.454, allocations: 374.1 kB / 0.7705 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4541, allocations: 103.5 kB / 0.7706 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.4543, allocations: 143.4 kB / 0.7707 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.4545, allocations: 143.3 kB / 0.7709 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.4546, allocations: 24 kB / 0.7709 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.963e-05/0.4546, allocations: 24 kB / 0.7709 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.4547, allocations: 63.7 kB / 0.771 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.4548, allocations: 159.2 kB / 0.7711 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.4551, allocations: 313.5 kB / 0.7714 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4551, allocations: 0 / 0.7714 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4551, allocations: 4 kB / 0.7714 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4551, allocations: 0 / 0.7714 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.0007029/0.4558, allocations: 0.5768 MB / 0.772 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4559, allocations: 12.03 kB / 0.772 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.4559, allocations: 32.56 kB / 0.772 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.4562, allocations: 284.3 kB / 0.7723 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4562, allocations: 24.94 kB / 0.7723 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.4563, allocations: 24.38 kB / 0.7723 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.4567, allocations: 241.2 kB / 0.7726 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4567, allocations: 0 / 0.7726 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.4567, allocations: 15.94 kB / 0.7726 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4567, allocations: 4 kB / 0.7726 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.457, allocations: 190.2 kB / 0.7728 GB, free: 13.27 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.001328/0.4584, allocations: 1.297 MB / 0.774 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.4591, allocations: 266.4 kB / 0.7743 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4593, allocations: 64.78 kB / 0.7743 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4593, allocations: 4 kB / 0.7744 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4593, allocations: 30.56 kB / 0.7744 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.4593, allocations: 0 / 0.7744 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001038/0.4604, allocations: 0.6488 MB / 0.775 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.4604, allocations: 51.41 kB / 0.7751 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.4606, allocations: 291.5 kB / 0.7753 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4607, allocations: 29.7 kB / 0.7754 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4608, allocations: 215.3 kB / 0.7756 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4609, allocations: 67.08 kB / 0.7756 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.4609, allocations: 65.61 kB / 0.7757 GB, free: 9.941 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4611, allocations: 346.8 kB / 0.776 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.4612, allocations: 72.34 kB / 0.7761 GB, free: 9.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.4614, allocations: 194.2 kB / 0.7763 GB, free: 9.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.4624, allocations: 493.2 kB / 0.7768 GB, free: 8.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4624, allocations: 3.938 kB / 0.7768 GB, free: 8.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006495/0.4631, allocations: 416.6 kB / 0.7772 GB, free: 8.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4631, allocations: 11.94 kB / 0.7772 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4631, allocations: 4 kB / 0.7772 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.4634, allocations: 87.39 kB / 0.7773 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.4637, allocations: 75.89 kB / 0.7773 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.4672, allocations: 5.526 MB / 0.7827 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.4674, allocations: 39.53 kB / 0.7828 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.4674, allocations: 16 kB / 0.7828 GB, free: 1.996 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.0002834/0.4677, allocations: 182.2 kB / 0.783 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.4678, allocations: 27.66 kB / 0.783 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.4679, allocations: 38.23 kB / 0.783 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4679, allocations: 0 / 0.783 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.4679, allocations: 7.938 kB / 0.783 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4679, allocations: 3.984 kB / 0.783 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.4682, allocations: 305.3 kB / 0.7833 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4682, allocations: 3.938 kB / 0.7833 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4684, allocations: 31.98 kB / 0.7834 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.4687, allocations: 79.39 kB / 0.7834 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4687, allocations: 4 kB / 0.7834 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/0.472, allocations: 5.507 MB / 0.7888 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4721, allocations: 3.938 kB / 0.7888 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.4727, allocations: 406.5 kB / 0.7892 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.4728, allocations: 112.6 kB / 0.7893 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.4728, allocations: 8.188 kB / 0.7893 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.473, allocations: 4 kB / 0.7893 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.473, allocations: 19.97 kB / 0.7893 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4731, allocations: 8 kB / 0.7893 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001779/0.4732, allocations: 186 kB / 0.7895 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4732, allocations: 0 / 0.7895 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00047/0.4737, allocations: 95.94 kB / 0.7896 GB, free: 10.31 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.0001253/0.4739, allocations: 107.2 kB / 0.7897 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000843/0.4747, allocations: 0.6657 MB / 0.7904 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4747, allocations: 0 / 0.7904 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.4753, allocations: 0.5231 MB / 0.7909 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.4757, allocations: 52.56 kB / 0.7909 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4768, allocations: 0.7526 MB / 0.7917 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4771, allocations: 0.7684 MB / 0.7924 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.4773, allocations: 30.95 kB / 0.7924 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.4773, allocations: 27.42 kB / 0.7925 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.4773, allocations: 0 / 0.7925 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of Templates: time 0.007885/0.4852, allocations: 4.049 MB / 0.7964 GB, free: 3.223 MB / 0.5606 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)