Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001857/0.001857, allocations: 194.5 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5888/0.5888, allocations: 95.46 MB / 364.9 MB, free: 10.06 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 444.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 69.07 MB / 0.5019 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003836/0.3282, allocations: 3.653 MB / 0.5054 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.3312, allocations: 2.541 MB / 0.5079 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.3314, allocations: 11.94 kB / 0.5079 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.332, allocations: 206.8 kB / 0.5081 GB, free: 11.1 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Conduction/SingleLayer.mo:4:10-4:79:writable] Warning: In relation con.material.R == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Conduction/SingleLayer.mo:4:10-4:79:writable] Warning: In relation con1.material.R == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Conduction/SingleLayer.mo:4:10-4:79:writable] Warning: In relation con2.material.R == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:17:5-19:32:writable] Warning: In relation concrete200.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:17:5-19:32:writable] Warning: In relation concrete200.d == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:17:5-19:32:writable] Warning: In relation concrete100.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:17:5-19:32:writable] Warning: In relation concrete100.d == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.3325, allocations: 290.4 kB / 0.5084 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.3333, allocations: 418.6 kB / 0.5088 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.334, allocations: 1.152 MB / 0.5099 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.3342, allocations: 161 kB / 0.5101 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.3345, allocations: 418.6 kB / 0.5105 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.335, allocations: 0.584 MB / 0.5111 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.3351, allocations: 60 kB / 0.5111 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.3352, allocations: 68 kB / 0.5112 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3354, allocations: 275.2 kB / 0.5114 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.3356, allocations: 437.8 kB / 0.5119 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.3361, allocations: 0.872 MB / 0.5127 GB, free: 6.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3361, allocations: 0 / 0.5127 GB, free: 6.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3361, allocations: 0 / 0.5127 GB, free: 6.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3361, allocations: 0 / 0.5127 GB, free: 6.398 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00154/0.3377, allocations: 1.152 MB / 0.5138 GB, free: 5.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3377, allocations: 15.98 kB / 0.5139 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.3379, allocations: 87.91 kB / 0.5139 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.3384, allocations: 0.5652 MB / 0.5145 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.3385, allocations: 66.92 kB / 0.5146 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.3386, allocations: 59.91 kB / 0.5146 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.339, allocations: 330 kB / 0.5149 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3391, allocations: 0 / 0.5149 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.3391, allocations: 16 kB / 0.5149 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3391, allocations: 11.98 kB / 0.5149 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.3394, allocations: 246.4 kB / 0.5152 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.3416, allocations: 1.809 MB / 0.517 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.3428, allocations: 0.5651 MB / 0.5175 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.3431, allocations: 172.8 kB / 0.5177 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3431, allocations: 4 kB / 0.5177 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3431, allocations: 42.5 kB / 0.5177 GB, free: 1.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.3431, allocations: 3.938 kB / 0.5177 GB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.001304/0.3444, allocations: 0.901 MB / 0.5186 GB, free: 28 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3445, allocations: 59.41 kB / 0.5187 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008697/0.3454, allocations: 0.7152 MB / 0.5194 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.3454, allocations: 41.7 kB / 0.5194 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.3457, allocations: 301.2 kB / 0.5197 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3458, allocations: 134.1 kB / 0.5198 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.346, allocations: 166.5 kB / 0.52 GB, free: 14.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3462, allocations: 386.8 kB / 0.5203 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.3466, allocations: 221.9 kB / 0.5205 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.3474, allocations: 0.5824 MB / 0.5211 GB, free: 13.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3484, allocations: 0.8254 MB / 0.5219 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3484, allocations: 4 kB / 0.5219 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001437/0.3498, allocations: 0.9415 MB / 0.5228 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.3499, allocations: 18.66 kB / 0.5229 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.3499, allocations: 15.94 kB / 0.5229 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.3503, allocations: 106.5 kB / 0.523 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.351, allocations: 195.7 kB / 0.5232 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.3548, allocations: 4.429 MB / 0.5275 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.3559, allocations: 99.03 kB / 0.5276 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.3559, allocations: 44.06 kB / 0.5276 GB, free: 5.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.0002697/0.3562, allocations: 245.4 kB / 0.5279 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3563, allocations: 71.06 kB / 0.5279 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3564, allocations: 71.08 kB / 0.528 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3564, allocations: 4 kB / 0.528 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.3565, allocations: 0 / 0.528 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3565, allocations: 0 / 0.528 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.3575, allocations: 0.7231 MB / 0.5287 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3575, allocations: 4 kB / 0.5287 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.3579, allocations: 79.88 kB / 0.5288 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/0.3582, allocations: 98.62 kB / 0.5289 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.3582, allocations: 8 kB / 0.5289 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.3614, allocations: 4.421 MB / 0.5332 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3614, allocations: 0 / 0.5332 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3625, allocations: 0.7396 MB / 0.5339 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.3628, allocations: 207.9 kB / 0.5341 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.3629, allocations: 16 kB / 0.5341 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.3636, allocations: 27.91 kB / 0.5342 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.3636, allocations: 23.97 kB / 0.5342 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.3637, allocations: 15.98 kB / 0.5342 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005286/0.3642, allocations: 483 kB / 0.5347 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3642, allocations: 0 / 0.5347 GB, free: 14.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008413/0.3651, allocations: 311.7 kB / 0.535 GB, free: 13.89 MB / 414.1 MB 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 (30): * Single equations (assignments): 27 * 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.000176/0.3652, allocations: 119.2 kB / 0.5351 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3666, allocations: 0.9477 MB / 0.536 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3666, allocations: 4.062 kB / 0.536 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.3672, allocations: 0.5544 MB / 0.5365 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.3681, allocations: 175 kB / 0.5367 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3708, allocations: 1.876 MB / 0.5385 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.3714, allocations: 0.9451 MB / 0.5395 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.3718, allocations: 137.1 kB / 0.5396 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3719, allocations: 43.44 kB / 0.5396 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3719, allocations: 3.938 kB / 0.5396 GB, free: 8.945 MB / 414.1 MB Notification: Performance of Templates: time 0.01738/0.3893, allocations: 9.922 MB / 0.5493 GB, free: 15.15 MB / 430.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)