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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7578/0.7578, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 176.5 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 90.36 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001764/0.001764, allocations: 264.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.000476, allocations: 16 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4194, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5625, allocations: 109.7 MB / 0.8466 GB, free: 488 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5628, allocations: 83.89 kB / 0.8467 GB, free: 404 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.5787, allocations: 6.129 MB / 0.8527 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5787, allocations: 0 / 0.8527 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.5788, allocations: 8 kB / 0.8527 GB, free: 10.16 MB / 0.5261 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.0008966/0.5797, allocations: 0.5343 MB / 0.8532 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5797, allocations: 12.22 kB / 0.8532 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.5798, allocations: 36.55 kB / 0.8532 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.5801, allocations: 215.7 kB / 0.8534 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.5801, allocations: 16.94 kB / 0.8535 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.5802, allocations: 24.38 kB / 0.8535 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.5807, allocations: 241.4 kB / 0.8537 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5807, allocations: 192 / 0.8537 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.5807, allocations: 19.94 kB / 0.8537 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.5808, allocations: 15.92 kB / 0.8537 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.5812, allocations: 206.2 kB / 0.8539 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5829, allocations: 1.073 MB / 0.855 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.5836, allocations: 258.4 kB / 0.8552 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5838, allocations: 64.83 kB / 0.8553 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5838, allocations: 4 kB / 0.8553 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.5839, allocations: 38.56 kB / 0.8553 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.5839, allocations: 0 / 0.8553 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001209/0.5851, allocations: 0.6591 MB / 0.856 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5851, allocations: 59.34 kB / 0.856 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.5855, allocations: 299.2 kB / 0.8563 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5855, allocations: 25.7 kB / 0.8563 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5857, allocations: 219.3 kB / 0.8566 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.5857, allocations: 67.08 kB / 0.8566 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.5857, allocations: 8 kB / 0.8566 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5859, allocations: 342.8 kB / 0.857 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.5861, allocations: 84.34 kB / 0.857 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5863, allocations: 190.4 kB / 0.8572 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5875, allocations: 0.5102 MB / 0.8577 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5875, allocations: 0 / 0.8577 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007664/0.5883, allocations: 444.2 kB / 0.8581 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5883, allocations: 4 kB / 0.8581 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5883, allocations: 8.312 kB / 0.8582 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.5886, allocations: 91.38 kB / 0.8582 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.5889, allocations: 79.84 kB / 0.8583 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.5926, allocations: 5.135 MB / 0.8633 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.593, allocations: 47.53 kB / 0.8634 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.593, allocations: 12 kB / 0.8634 GB, free: 14.15 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003439/0.5934, allocations: 201.3 kB / 0.8636 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.5934, allocations: 27.66 kB / 0.8636 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.5935, allocations: 34.3 kB / 0.8636 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5935, allocations: 0 / 0.8636 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5935, allocations: 0 / 0.8636 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5935, allocations: 0 / 0.8636 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.5939, allocations: 313.4 kB / 0.8639 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5939, allocations: 0 / 0.8639 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.5941, allocations: 39.91 kB / 0.864 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.5944, allocations: 83.33 kB / 0.8641 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5944, allocations: 4 kB / 0.8641 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/0.5981, allocations: 5.128 MB / 0.8691 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5981, allocations: 4.031 kB / 0.8691 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.5988, allocations: 425.8 kB / 0.8695 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.5989, allocations: 104.8 kB / 0.8696 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.599, allocations: 4 kB / 0.8696 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5992, allocations: 19.92 kB / 0.8696 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.5992, allocations: 15.98 kB / 0.8696 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.5993, allocations: 4 kB / 0.8696 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002369/0.5995, allocations: 209.9 kB / 0.8698 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5995, allocations: 0 / 0.8698 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000527/0.6, allocations: 95.91 kB / 0.8699 GB, free: 6.824 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.6003, allocations: 115.1 kB / 0.87 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009614/0.6012, allocations: 0.6666 MB / 0.8707 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6012, allocations: 4 kB / 0.8707 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.6019, allocations: 0.5268 MB / 0.8712 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.6023, allocations: 60.28 kB / 0.8712 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.6038, allocations: 0.9391 MB / 0.8722 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.6042, allocations: 0.76 MB / 0.8729 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.6044, allocations: 30.27 kB / 0.8729 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.6044, allocations: 19.44 kB / 0.873 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of SimCode: time 1.213e-06/0.6044, allocations: 0 / 0.873 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of Templates: time 0.008774/0.6132, allocations: 3.717 MB / 0.8766 GB, free: 15.86 MB / 0.5573 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)