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.001359/0.001359, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001535/0.001535, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.271/1.271, 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.002046/0.002046, allocations: 286.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 91.86 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1535, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003921/0.1575, allocations: 2.898 MB / 0.6844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.1585, allocations: 0.705 MB / 0.6851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1586, allocations: 11.94 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1588, allocations: 63.48 kB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.159, allocations: 122.9 kB / 0.6853 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1591, allocations: 55.86 kB / 0.6854 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.1595, allocations: 370.1 kB / 0.6857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1596, allocations: 103.8 kB / 0.6858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1598, allocations: 143.4 kB / 0.6859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.16, allocations: 143.3 kB / 0.6861 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.1601, allocations: 24 kB / 0.6861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.1601, allocations: 24 kB / 0.6861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.1602, allocations: 63.7 kB / 0.6862 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1603, allocations: 155.3 kB / 0.6863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1606, allocations: 318.8 kB / 0.6866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1606, allocations: 0 / 0.6866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1606, allocations: 0 / 0.6866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1606, allocations: 3.938 kB / 0.6866 GB, free: 2.258 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.0007284/0.1614, allocations: 0.5846 MB / 0.6872 GB, free: 1.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1614, allocations: 12.03 kB / 0.6872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.1615, allocations: 36.56 kB / 0.6873 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1617, allocations: 280.3 kB / 0.6875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1618, allocations: 20.94 kB / 0.6876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.1618, allocations: 24.38 kB / 0.6876 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.1622, allocations: 237.2 kB / 0.6878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1622, allocations: 0 / 0.6878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.1623, allocations: 12 kB / 0.6878 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1623, allocations: 4 kB / 0.6878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.1626, allocations: 194.1 kB / 0.688 GB, free: 0.7812 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.2348/0.3974, allocations: 1.281 MB / 0.6893 GB, free: 17.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/0.3982, allocations: 271.6 kB / 0.6895 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3984, allocations: 63.53 kB / 0.6896 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3984, allocations: 6.812 kB / 0.6896 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3984, allocations: 32.56 kB / 0.6896 GB, free: 17.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.3984, allocations: 0.9688 kB / 0.6896 GB, free: 17.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001036/0.3995, allocations: 0.6431 MB / 0.6902 GB, free: 17.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.3995, allocations: 54.03 kB / 0.6903 GB, free: 17.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.3998, allocations: 290.6 kB / 0.6906 GB, free: 17.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3998, allocations: 25.7 kB / 0.6906 GB, free: 17.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.3999, allocations: 224.3 kB / 0.6908 GB, free: 16.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3999, allocations: 66.7 kB / 0.6909 GB, free: 16.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.4, allocations: 65.34 kB / 0.6909 GB, free: 16.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.4001, allocations: 341.7 kB / 0.6913 GB, free: 16.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4003, allocations: 77.36 kB / 0.6913 GB, free: 16.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.4005, allocations: 185.9 kB / 0.6915 GB, free: 16.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.4015, allocations: 499.1 kB / 0.692 GB, free: 16.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4015, allocations: 5.625 kB / 0.692 GB, free: 16.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006516/0.4022, allocations: 423.2 kB / 0.6924 GB, free: 16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4022, allocations: 6.812 kB / 0.6924 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4022, allocations: 7.188 kB / 0.6924 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.4025, allocations: 81.08 kB / 0.6925 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4027, allocations: 85.48 kB / 0.6926 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.4051, allocations: 5.513 MB / 0.6979 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4054, allocations: 41.2 kB / 0.698 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.4054, allocations: 16.59 kB / 0.698 GB, free: 10.27 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.0002504/0.4057, allocations: 180.4 kB / 0.6982 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.4057, allocations: 24.78 kB / 0.6982 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.4058, allocations: 33.7 kB / 0.6982 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4058, allocations: 9.719 kB / 0.6982 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4058, allocations: 5.719 kB / 0.6982 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4058, allocations: 0.5625 kB / 0.6982 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.4061, allocations: 301 kB / 0.6985 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4061, allocations: 0 / 0.6985 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.4063, allocations: 31.92 kB / 0.6986 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.4065, allocations: 79.92 kB / 0.6986 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4066, allocations: 12.05 kB / 0.6987 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.409, allocations: 5.509 MB / 0.704 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.409, allocations: 0.6094 kB / 0.704 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.4096, allocations: 419.3 kB / 0.7044 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.4097, allocations: 101.9 kB / 0.7045 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4097, allocations: 1.766 kB / 0.7045 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4098, allocations: 10.97 kB / 0.7045 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.4099, allocations: 20.06 kB / 0.7046 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4099, allocations: 7.984 kB / 0.7046 GB, free: 3.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.4101, allocations: 192.8 kB / 0.7048 GB, free: 3.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4101, allocations: 1.312 kB / 0.7048 GB, free: 3.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.4105, allocations: 93.28 kB / 0.7048 GB, free: 3.617 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 9.157e-05/0.4106, allocations: 106.2 kB / 0.7049 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.4113, allocations: 0.6532 MB / 0.7056 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4114, allocations: 0 / 0.7056 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.4118, allocations: 0.5297 MB / 0.7061 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4122, allocations: 64.33 kB / 0.7062 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4133, allocations: 0.7513 MB / 0.7069 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.4136, allocations: 0.7687 MB / 0.7076 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.4137, allocations: 33.41 kB / 0.7077 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.4138, allocations: 22.83 kB / 0.7077 GB, free: 1.262 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4138, allocations: 0 / 0.7077 GB, free: 1.262 MB / 494.1 MB Notification: Performance of Templates: time 0.00915/0.4229, allocations: 3.899 MB / 0.7115 GB, free: 0.9961 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)