Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005376/0.3261, allocations: 4.37 MB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.3307, allocations: 2.949 MB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.3312, allocations: 19.88 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.3321, allocations: 361.6 kB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3335, allocations: 0.6571 MB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3351, allocations: 0.6198 MB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.3372, allocations: 1.874 MB / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.3376, allocations: 177.9 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/0.3385, allocations: 0.5801 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3396, allocations: 0.6811 MB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.3398, allocations: 76 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007844/0.3406, allocations: 407.4 kB / 1.081 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.341, allocations: 458.6 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005762/0.3416, allocations: 0.5945 MB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.3432, allocations: 1.46 MB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3432, allocations: 0 / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3432, allocations: 0 / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.3432, allocations: 4 kB / 1.083 GB, free: 11.12 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003468/0.3467, allocations: 1.621 MB / 1.085 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.3468, allocations: 12.02 kB / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.3471, allocations: 131.3 kB / 1.085 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3483, allocations: 0.8153 MB / 1.086 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.3484, allocations: 45.38 kB / 1.086 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.3485, allocations: 64.38 kB / 1.086 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.3494, allocations: 0.6139 MB / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3494, allocations: 0 / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.3494, allocations: 20 kB / 1.086 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3495, allocations: 12 kB / 1.086 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.3502, allocations: 0.5543 MB / 1.087 GB, free: 7.113 MB / 0.8419 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.004306/0.3545, allocations: 3.29 MB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3559, allocations: 0.8444 MB / 1.091 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.3563, allocations: 361.4 kB / 1.091 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.791e-05/0.3564, allocations: 28.2 kB / 1.091 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3564, allocations: 42.92 kB / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/0.3564, allocations: 4 kB / 1.091 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001704/0.3582, allocations: 1.176 MB / 1.092 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3582, allocations: 55.41 kB / 1.092 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.3597, allocations: 1.227 MB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.3598, allocations: 41.7 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.3601, allocations: 468.7 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3603, allocations: 173.5 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.3605, allocations: 210.5 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3607, allocations: 349.9 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/0.3614, allocations: 0.6465 MB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.3624, allocations: 0.963 MB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.3641, allocations: 1.586 MB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3641, allocations: 4 kB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002225/0.3663, allocations: 1.791 MB / 1.1 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3663, allocations: 12.06 kB / 1.1 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.3664, allocations: 12 kB / 1.1 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.3666, allocations: 44.84 kB / 1.1 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3677, allocations: 267.6 kB / 1.1 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.3716, allocations: 6.84 MB / 1.107 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.3726, allocations: 122.6 kB / 1.107 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.3726, allocations: 40 kB / 1.107 GB, free: 1.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.373, allocations: 309.6 kB / 1.107 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3732, allocations: 118.4 kB / 1.107 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.3744, allocations: 0.8336 MB / 1.108 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3744, allocations: 8 kB / 1.108 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.3744, allocations: 0 / 1.108 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3744, allocations: 3.984 kB / 1.108 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3754, allocations: 0.9189 MB / 1.109 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3754, allocations: 4 kB / 1.109 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.376, allocations: 115.8 kB / 1.109 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.3761, allocations: 36.77 kB / 1.109 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.3762, allocations: 15.98 kB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.3772, allocations: 1.441 MB / 1.111 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3772, allocations: 3.984 kB / 1.111 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3789, allocations: 1.37 MB / 1.112 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.3792, allocations: 259.5 kB / 1.112 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3794, allocations: 19.92 kB / 1.112 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.38, allocations: 24.03 kB / 1.112 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.3801, allocations: 31.97 kB / 1.112 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.3801, allocations: 15.98 kB / 1.112 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001091/0.3812, allocations: 0.8154 MB / 1.113 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3812, allocations: 0 / 1.113 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001067/0.3823, allocations: 367.7 kB / 1.113 GB, free: 10.65 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000538/0.3828, allocations: 277.6 kB / 1.114 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.3854, allocations: 1.605 MB / 1.115 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3854, allocations: 0 / 1.115 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.386, allocations: 470.7 kB / 1.116 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.387, allocations: 225.4 kB / 1.116 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.3904, allocations: 2.549 MB / 1.118 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.3911, allocations: 1.09 MB / 1.119 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005249/0.3916, allocations: 211.1 kB / 1.12 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.3918, allocations: 67.44 kB / 1.12 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.3918, allocations: 0 / 1.12 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of Templates: time 0.0252/0.417, allocations: 14.51 MB / 1.134 GB, free: 5.723 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)