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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 192.5 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 285.7 kB / 306.5 MB, free: 8.32 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.239/1.239, allocations: 180.8 MB / 0.53 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 104.4 kB / 0.7308 GB, free: 39.01 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1782, allocations: 94.2 MB / 0.8228 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004479/0.1827, allocations: 2.943 MB / 0.8257 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1839, allocations: 0.705 MB / 0.8264 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.184, allocations: 19.81 kB / 0.8264 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.1842, allocations: 59.48 kB / 0.8264 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1845, allocations: 130.9 kB / 0.8266 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1847, allocations: 59.86 kB / 0.8266 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.1851, allocations: 370.1 kB / 0.827 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.1853, allocations: 76.23 kB / 0.827 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1855, allocations: 143.4 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1857, allocations: 143.4 kB / 0.8273 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.1857, allocations: 24 kB / 0.8273 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.487e-05/0.1858, allocations: 24 kB / 0.8274 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.1859, allocations: 59.78 kB / 0.8274 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.186, allocations: 163.1 kB / 0.8276 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1864, allocations: 314.6 kB / 0.8279 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1864, allocations: 0 / 0.8279 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1864, allocations: 0 / 0.8279 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1864, allocations: 0 / 0.8279 GB, free: 12.57 MB / 0.5762 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.0008583/0.1873, allocations: 0.5169 MB / 0.8284 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1873, allocations: 12.03 kB / 0.8284 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.1874, allocations: 40.7 kB / 0.8284 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1877, allocations: 221.9 kB / 0.8286 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1877, allocations: 21.03 kB / 0.8287 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1878, allocations: 24.38 kB / 0.8287 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.1882, allocations: 238.4 kB / 0.8289 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1882, allocations: 3.984 kB / 0.8289 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1883, allocations: 12 kB / 0.8289 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1883, allocations: 4 kB / 0.8289 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.1886, allocations: 190.5 kB / 0.8291 GB, free: 11.24 MB / 0.5762 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.001671/0.1903, allocations: 1.26 MB / 0.8303 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.1912, allocations: 249.8 kB / 0.8306 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1913, allocations: 64.83 kB / 0.8306 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1913, allocations: 4 kB / 0.8307 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1913, allocations: 38.5 kB / 0.8307 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.1913, allocations: 0 / 0.8307 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001095/0.1924, allocations: 352.9 kB / 0.831 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1925, allocations: 51.41 kB / 0.8311 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1928, allocations: 296.4 kB / 0.8314 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1928, allocations: 29.7 kB / 0.8314 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.193, allocations: 227.8 kB / 0.8316 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.193, allocations: 67.42 kB / 0.8317 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1931, allocations: 69.64 kB / 0.8317 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1933, allocations: 338.8 kB / 0.8321 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1935, allocations: 76.34 kB / 0.8321 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.1937, allocations: 187.5 kB / 0.8323 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1949, allocations: 490.8 kB / 0.8328 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1949, allocations: 3.938 kB / 0.8328 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007507/0.1956, allocations: 416.5 kB / 0.8332 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1957, allocations: 7.938 kB / 0.8332 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1957, allocations: 4 kB / 0.8332 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.196, allocations: 91.73 kB / 0.8333 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.1962, allocations: 79.83 kB / 0.8334 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/0.2004, allocations: 5.115 MB / 0.8383 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2007, allocations: 39.72 kB / 0.8384 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.2007, allocations: 16 kB / 0.8384 GB, free: 0.8867 MB / 0.5762 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.0003727/0.2011, allocations: 168.1 kB / 0.8386 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.2011, allocations: 35.73 kB / 0.8386 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.2012, allocations: 34.23 kB / 0.8386 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2012, allocations: 4 kB / 0.8386 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2012, allocations: 0 / 0.8386 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2012, allocations: 4 kB / 0.8386 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.2015, allocations: 280.5 kB / 0.8389 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.2016, allocations: 11.94 kB / 0.8389 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.2018, allocations: 31.92 kB / 0.8389 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.202, allocations: 83.39 kB / 0.839 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.202, allocations: 8 kB / 0.839 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.206, allocations: 5.093 MB / 0.844 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.206, allocations: 0 / 0.844 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.2067, allocations: 425.8 kB / 0.8444 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.2068, allocations: 31.67 kB / 0.8444 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.2068, allocations: 8.062 kB / 0.8444 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.207, allocations: 0 / 0.8444 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.207, allocations: 23.91 kB / 0.8445 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.207, allocations: 4 kB / 0.8445 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001875/0.2072, allocations: 195.1 kB / 0.8447 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2072, allocations: 0 / 0.8447 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004457/0.2077, allocations: 92 kB / 0.8448 GB, free: 9.84 MB / 0.5919 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.000127/0.2078, allocations: 103.2 kB / 0.8448 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009058/0.2087, allocations: 0.6469 MB / 0.8455 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2087, allocations: 0 / 0.8455 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.2093, allocations: 0.527 MB / 0.846 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.2097, allocations: 52.73 kB / 0.846 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.211, allocations: 0.7727 MB / 0.8468 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.2114, allocations: 0.7684 MB / 0.8476 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.2115, allocations: 30.97 kB / 0.8476 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.2116, allocations: 23.44 kB / 0.8476 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2116, allocations: 3.938 kB / 0.8476 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of Templates: time 0.009264/0.2208, allocations: 4.187 MB / 0.8517 GB, free: 2.613 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.175577983260155] Failed to read output from testmodel.py, exit status != 0: 0.22824922110885382 0.24281353299999994 0.053348321000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff8e6c497b0>