Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.221/2.221, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 187.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 102.4 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 50 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2624, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003852/0.2663, allocations: 3.747 MB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.2698, allocations: 2.535 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.2703, allocations: 19.88 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.271, allocations: 218.8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.2718, allocations: 458 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.273, allocations: 475.1 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2742, allocations: 1.632 MB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2744, allocations: 136.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.2748, allocations: 378.5 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.2754, allocations: 0.5254 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.2755, allocations: 43.94 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2756, allocations: 44 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.2758, allocations: 319 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.2761, allocations: 437.6 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.2767, allocations: 0.899 MB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2767, allocations: 0 / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2767, allocations: 0 / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2767, allocations: 0 / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001963/0.2787, allocations: 1.269 MB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2787, allocations: 15.98 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2789, allocations: 95.81 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.2797, allocations: 0.6598 MB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2797, allocations: 41.03 kB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.2798, allocations: 56.31 kB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.2803, allocations: 422.9 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2803, allocations: 0 / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.2803, allocations: 16 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2804, allocations: 8 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.2807, allocations: 230.4 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.2831, allocations: 2.498 MB / 1.235 GB, free: 99.83 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.2843, allocations: 0.5527 MB / 1.235 GB, free: 99.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.2845, allocations: 173.8 kB / 1.235 GB, free: 99.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2845, allocations: 4 kB / 1.235 GB, free: 99.09 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2846, allocations: 34.56 kB / 1.236 GB, free: 99.05 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.2846, allocations: 0 / 1.236 GB, free: 99.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.001359/0.2859, allocations: 0.8813 MB / 1.236 GB, free: 98.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.286, allocations: 67.34 kB / 1.236 GB, free: 98.02 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.2869, allocations: 0.927 MB / 1.237 GB, free: 97.08 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.2869, allocations: 37.7 kB / 1.237 GB, free: 97.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.2871, allocations: 368.8 kB / 1.238 GB, free: 96.67 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.2872, allocations: 118.4 kB / 1.238 GB, free: 96.55 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.2874, allocations: 166.6 kB / 1.238 GB, free: 96.38 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.2875, allocations: 394.8 kB / 1.238 GB, free: 95.99 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.2878, allocations: 245.8 kB / 1.239 GB, free: 95.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.2883, allocations: 0.6349 MB / 1.239 GB, free: 94.92 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.289, allocations: 0.8953 MB / 1.24 GB, free: 93.83 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.289, allocations: 4 kB / 1.24 GB, free: 93.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001209/0.2902, allocations: 1.022 MB / 1.241 GB, free: 92.79 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2903, allocations: 15.98 kB / 1.241 GB, free: 92.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2903, allocations: 15.98 kB / 1.241 GB, free: 92.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.2907, allocations: 122.4 kB / 1.241 GB, free: 92.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.2912, allocations: 195.7 kB / 1.241 GB, free: 92.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.2934, allocations: 4.153 MB / 1.246 GB, free: 87.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.2944, allocations: 111 kB / 1.246 GB, free: 87.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.2944, allocations: 44 kB / 1.246 GB, free: 87.73 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.2947, allocations: 270.1 kB / 1.246 GB, free: 87.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.2947, allocations: 86.86 kB / 1.246 GB, free: 87.37 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2949, allocations: 80.53 kB / 1.246 GB, free: 87.29 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2949, allocations: 4 kB / 1.246 GB, free: 87.29 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.2949, allocations: 3.938 kB / 1.246 GB, free: 87.28 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2949, allocations: 0 / 1.246 GB, free: 87.28 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.2955, allocations: 0.657 MB / 1.247 GB, free: 86.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2955, allocations: 4 kB / 1.247 GB, free: 86.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.2958, allocations: 55.95 kB / 1.247 GB, free: 86.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.296, allocations: 110.6 kB / 1.247 GB, free: 86.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.2961, allocations: 12 kB / 1.247 GB, free: 86.39 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.2982, allocations: 4.13 MB / 1.251 GB, free: 81.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2982, allocations: 0 / 1.251 GB, free: 81.86 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007109/0.3053, allocations: 8.653 MB / 1.259 GB, free: 72.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.3056, allocations: 211.9 kB / 1.26 GB, free: 72.38 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.3057, allocations: 11.98 kB / 1.26 GB, free: 72.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.3061, allocations: 31.94 kB / 1.26 GB, free: 72.33 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.3063, allocations: 31.91 kB / 1.26 GB, free: 72.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3063, allocations: 4 kB / 1.26 GB, free: 72.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006206/0.3069, allocations: 0.6239 MB / 1.26 GB, free: 71.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3069, allocations: 4 kB / 1.26 GB, free: 71.67 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001029/0.3079, allocations: 403.8 kB / 1.261 GB, free: 71.28 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.0001132/0.3081, allocations: 112.1 kB / 1.261 GB, free: 71.16 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.3091, allocations: 0.918 MB / 1.262 GB, free: 70.21 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3091, allocations: 8.125 kB / 1.262 GB, free: 70.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.3096, allocations: 0.5194 MB / 1.262 GB, free: 69.64 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.3103, allocations: 164.5 kB / 1.262 GB, free: 69.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3127, allocations: 2.569 MB / 1.265 GB, free: 66.82 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3131, allocations: 1.004 MB / 1.266 GB, free: 65.79 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003651/0.3135, allocations: 153.9 kB / 1.266 GB, free: 65.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3136, allocations: 47.44 kB / 1.266 GB, free: 65.6 MB / 0.823 GB Notification: Performance of SimCode: time 4.3e-07/0.3136, allocations: 4 kB / 1.266 GB, free: 65.59 MB / 0.823 GB Notification: Performance of Templates: time 0.01524/0.3289, allocations: 11.38 MB / 1.277 GB, free: 54.32 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)