Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001224/0.001224, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 60.05 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3315, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005332/0.3368, allocations: 3.76 MB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.3412, allocations: 2.513 MB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.3418, allocations: 11.94 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008601/0.3427, allocations: 218.8 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3441, allocations: 473.9 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.3462, allocations: 487.1 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.3487, allocations: 1.39 MB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.349, allocations: 145.1 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/0.35, allocations: 438.4 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.3512, allocations: 0.5411 MB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.3515, allocations: 60 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.3518, allocations: 60 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.3524, allocations: 347 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.3535, allocations: 465.7 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3549, allocations: 0.9185 MB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3549, allocations: 0 / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3549, allocations: 4 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.622e-05/0.355, allocations: 0 / 1.079 GB, free: 15 MB / 0.8419 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.0029/0.3579, allocations: 1.273 MB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3579, allocations: 8.031 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3582, allocations: 103.7 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.3594, allocations: 0.6558 MB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.3595, allocations: 41.03 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/0.3596, allocations: 60.38 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.3602, allocations: 410.9 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3603, allocations: 0 / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.3603, allocations: 16 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3603, allocations: 8 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.3608, allocations: 234.4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.3641, allocations: 2.509 MB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.3655, allocations: 0.5455 MB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.3658, allocations: 160.8 kB / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3658, allocations: 0 / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3658, allocations: 38.56 kB / 1.085 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.3659, allocations: 0 / 1.085 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001618/0.3675, allocations: 0.8915 MB / 1.086 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3675, allocations: 51.41 kB / 1.086 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3687, allocations: 0.9232 MB / 1.087 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.3688, allocations: 41.7 kB / 1.087 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.369, allocations: 360.7 kB / 1.087 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3692, allocations: 118.4 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.3694, allocations: 178.6 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3695, allocations: 394.7 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.3699, allocations: 241.8 kB / 1.088 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.3706, allocations: 0.6426 MB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3716, allocations: 0.893 MB / 1.09 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.3716, allocations: 7.938 kB / 1.09 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001631/0.3733, allocations: 1.018 MB / 1.091 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3733, allocations: 8 kB / 1.091 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.3733, allocations: 16 kB / 1.091 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.3737, allocations: 138.5 kB / 1.091 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.3744, allocations: 187.7 kB / 1.091 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.3777, allocations: 4.476 MB / 1.095 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/0.3786, allocations: 111 kB / 1.095 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.3787, allocations: 40 kB / 1.096 GB, free: 12.97 MB / 0.8575 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.0003272/0.379, allocations: 278.1 kB / 1.096 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3792, allocations: 86.86 kB / 1.096 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.3793, allocations: 72.53 kB / 1.096 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3794, allocations: 4 kB / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.3794, allocations: 0 / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3794, allocations: 7.984 kB / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.3801, allocations: 0.6531 MB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3802, allocations: 0 / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.3805, allocations: 63.89 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.3808, allocations: 110.5 kB / 1.097 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.3808, allocations: 8 kB / 1.097 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.384, allocations: 4.457 MB / 1.101 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.384, allocations: 0 / 1.101 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.385, allocations: 0.7314 MB / 1.102 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.3853, allocations: 215.8 kB / 1.102 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3854, allocations: 8 kB / 1.102 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.3859, allocations: 23.97 kB / 1.102 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.386, allocations: 19.97 kB / 1.102 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.386, allocations: 8 kB / 1.102 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008143/0.3868, allocations: 0.6317 MB / 1.103 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3869, allocations: 0 / 1.103 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008555/0.3877, allocations: 267.8 kB / 1.103 GB, free: 4.812 MB / 0.8575 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.0001389/0.3879, allocations: 103.2 kB / 1.103 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.3893, allocations: 0.966 MB / 1.104 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3893, allocations: 0 / 1.104 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.3899, allocations: 0.5209 MB / 1.105 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.3908, allocations: 175.8 kB / 1.105 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3935, allocations: 1.989 MB / 1.107 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.3942, allocations: 0.9956 MB / 1.108 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004226/0.3946, allocations: 153.8 kB / 1.108 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3948, allocations: 47.44 kB / 1.108 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.3948, allocations: 0 / 1.108 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.01927/0.414, allocations: 10.07 MB / 1.118 GB, free: 5.766 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)