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.001017/0.001017, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001071/0.001071, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 297.5 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 93.83 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1579, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004237/0.1622, allocations: 2.899 MB / 0.6844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1633, allocations: 0.701 MB / 0.6851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1635, allocations: 11.94 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1637, allocations: 67.48 kB / 0.6852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1639, allocations: 126.9 kB / 0.6853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1641, allocations: 51.94 kB / 0.6854 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.1644, allocations: 366.1 kB / 0.6857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1645, allocations: 107.8 kB / 0.6858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1647, allocations: 139.4 kB / 0.6859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1649, allocations: 155.3 kB / 0.6861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.1649, allocations: 24 kB / 0.6861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-05/0.165, allocations: 24 kB / 0.6861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.165, allocations: 47.78 kB / 0.6862 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1652, allocations: 163.2 kB / 0.6863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1654, allocations: 314.8 kB / 0.6866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1655, allocations: 0 / 0.6866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1655, allocations: 8 kB / 0.6866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1655, allocations: 0 / 0.6866 GB, free: 2.254 MB / 494.1 MB 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.000691/0.1662, allocations: 0.5807 MB / 0.6872 GB, free: 1.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1662, allocations: 8.031 kB / 0.6872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.1663, allocations: 32.56 kB / 0.6873 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1666, allocations: 288.3 kB / 0.6875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1666, allocations: 20.94 kB / 0.6875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1666, allocations: 24.38 kB / 0.6876 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.167, allocations: 241.2 kB / 0.6878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.167, allocations: 0 / 0.6878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1671, allocations: 8 kB / 0.6878 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1671, allocations: 8 kB / 0.6878 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1674, allocations: 194.2 kB / 0.688 GB, free: 0.7773 MB / 494.1 MB 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.2447/0.4121, allocations: 1.282 MB / 0.6893 GB, free: 17.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.4129, allocations: 256.7 kB / 0.6895 GB, free: 17.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.4131, allocations: 72.03 kB / 0.6896 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4131, allocations: 3.406 kB / 0.6896 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.4131, allocations: 37.25 kB / 0.6896 GB, free: 17.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.4131, allocations: 0 / 0.6896 GB, free: 17.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001047/0.4142, allocations: 0.6477 MB / 0.6902 GB, free: 17.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.4142, allocations: 53.34 kB / 0.6903 GB, free: 17.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.4144, allocations: 286.5 kB / 0.6906 GB, free: 17.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4145, allocations: 30.73 kB / 0.6906 GB, free: 17.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.4146, allocations: 212.9 kB / 0.6908 GB, free: 17.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.4146, allocations: 71.8 kB / 0.6909 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.4147, allocations: 69.61 kB / 0.6909 GB, free: 17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.4148, allocations: 343.1 kB / 0.6913 GB, free: 16.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.4149, allocations: 76.84 kB / 0.6913 GB, free: 16.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.4151, allocations: 187.1 kB / 0.6915 GB, free: 16.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.4161, allocations: 496.3 kB / 0.692 GB, free: 16.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4162, allocations: 1.219 kB / 0.692 GB, free: 16.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000646/0.4168, allocations: 427.6 kB / 0.6924 GB, free: 16.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4168, allocations: 7.094 kB / 0.6924 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4168, allocations: 3.5 kB / 0.6924 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.4171, allocations: 87.16 kB / 0.6925 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.4174, allocations: 77 kB / 0.6926 GB, free: 16.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.4198, allocations: 5.512 MB / 0.6979 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.42, allocations: 45.23 kB / 0.698 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.4201, allocations: 14.23 kB / 0.698 GB, free: 10.37 MB / 494.1 MB 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.0002399/0.4203, allocations: 187.2 kB / 0.6982 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.4204, allocations: 25.59 kB / 0.6982 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.4204, allocations: 32.12 kB / 0.6982 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4204, allocations: 5.906 kB / 0.6982 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4204, allocations: 2.062 kB / 0.6982 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4204, allocations: 0.7969 kB / 0.6982 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.4207, allocations: 303.4 kB / 0.6985 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4207, allocations: 0.6562 kB / 0.6985 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.421, allocations: 35.69 kB / 0.6986 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.4212, allocations: 82.67 kB / 0.6986 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4212, allocations: 5.188 kB / 0.6986 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.4235, allocations: 5.513 MB / 0.704 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4235, allocations: 160 / 0.704 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.4241, allocations: 427.8 kB / 0.7044 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.4242, allocations: 96.98 kB / 0.7045 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.4242, allocations: 10.36 kB / 0.7045 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4244, allocations: 7.078 kB / 0.7045 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.4244, allocations: 17.42 kB / 0.7046 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4244, allocations: 3.344 kB / 0.7046 GB, free: 3.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.4246, allocations: 193.4 kB / 0.7048 GB, free: 3.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4246, allocations: 0 / 0.7048 GB, free: 3.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.4251, allocations: 94.06 kB / 0.7048 GB, free: 3.707 MB / 494.1 MB 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 8.705e-05/0.4251, allocations: 108.7 kB / 0.7049 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.4259, allocations: 0.6526 MB / 0.7056 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4259, allocations: 0 / 0.7056 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4263, allocations: 0.5235 MB / 0.7061 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.4267, allocations: 60.91 kB / 0.7062 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4277, allocations: 0.7577 MB / 0.7069 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4279, allocations: 0.7721 MB / 0.7076 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.4281, allocations: 29.47 kB / 0.7077 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.4281, allocations: 27.75 kB / 0.7077 GB, free: 1.34 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4281, allocations: 0 / 0.7077 GB, free: 1.34 MB / 494.1 MB Notification: Performance of Templates: time 0.008294/0.4364, allocations: 3.896 MB / 0.7115 GB, free: 1.078 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)