Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 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.001099/0.001099, allocations: 195.6 kB / 16.53 MB, free: 6.699 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005747/0.3538, allocations: 4.353 MB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005298/0.3591, allocations: 2.949 MB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.36, allocations: 27.88 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3612, allocations: 361.6 kB / 1.076 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.3629, allocations: 0.6493 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3646, allocations: 0.6314 MB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.3667, allocations: 1.874 MB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.3671, allocations: 177.9 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009209/0.368, allocations: 0.5878 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.369, allocations: 0.6734 MB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.3691, allocations: 76 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007319/0.3699, allocations: 411.4 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.3703, allocations: 454.6 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.3709, allocations: 0.5984 MB / 1.082 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3724, allocations: 1.456 MB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3724, allocations: 4 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3725, allocations: 0 / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.3725, allocations: 0 / 1.083 GB, free: 11.18 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.002939/0.3754, allocations: 1.616 MB / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3755, allocations: 8.031 kB / 1.085 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.3757, allocations: 143.3 kB / 1.085 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.3769, allocations: 0.8114 MB / 1.086 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.377, allocations: 41.38 kB / 1.086 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3771, allocations: 64.38 kB / 1.086 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.378, allocations: 0.6139 MB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3781, allocations: 4 kB / 1.086 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.3781, allocations: 16 kB / 1.086 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3781, allocations: 12 kB / 1.086 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.3789, allocations: 0.5543 MB / 1.087 GB, free: 7.176 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.004343/0.3833, allocations: 3.294 MB / 1.09 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.3846, allocations: 0.84 MB / 1.091 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.3851, allocations: 358.8 kB / 1.091 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-05/0.3851, allocations: 40.19 kB / 1.091 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3852, allocations: 38.92 kB / 1.091 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.564e-06/0.3852, allocations: 3.938 kB / 1.091 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001763/0.387, allocations: 1.172 MB / 1.092 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.387, allocations: 55.41 kB / 1.092 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.3885, allocations: 1.235 MB / 1.094 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.3886, allocations: 41.7 kB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.389, allocations: 460.7 kB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.3891, allocations: 173.5 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.3894, allocations: 210.5 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3895, allocations: 349.9 kB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/0.3903, allocations: 0.6426 MB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009553/0.3913, allocations: 0.9708 MB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.393, allocations: 1.59 MB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.393, allocations: 0 / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002328/0.3953, allocations: 1.795 MB / 1.1 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3953, allocations: 8 kB / 1.1 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.3954, allocations: 12 kB / 1.1 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.3956, allocations: 45.22 kB / 1.1 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.3968, allocations: 275.6 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/0.4008, allocations: 6.824 MB / 1.107 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.4019, allocations: 130.9 kB / 1.107 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.402, allocations: 40 kB / 1.107 GB, free: 1.648 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.0004788/0.4025, allocations: 309.4 kB / 1.107 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.4027, allocations: 118.4 kB / 1.107 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.4039, allocations: 0.8414 MB / 1.108 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4039, allocations: 4 kB / 1.108 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4039, allocations: 0 / 1.108 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4039, allocations: 3.984 kB / 1.108 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.405, allocations: 0.9228 MB / 1.109 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.405, allocations: 0 / 1.109 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.4056, allocations: 107.9 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.4057, allocations: 40.77 kB / 1.109 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.4058, allocations: 15.98 kB / 1.109 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.4068, allocations: 1.437 MB / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4068, allocations: 7.922 kB / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.4084, allocations: 1.366 MB / 1.112 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.4088, allocations: 259.5 kB / 1.112 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.409, allocations: 23.92 kB / 1.112 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.4095, allocations: 27.97 kB / 1.112 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.4096, allocations: 23.97 kB / 1.112 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4096, allocations: 11.98 kB / 1.112 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001114/0.4108, allocations: 0.8194 MB / 1.113 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.974e-06/0.4108, allocations: 0 / 1.113 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009839/0.4118, allocations: 375.5 kB / 1.113 GB, free: 10.7 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.0005152/0.4123, allocations: 264.8 kB / 1.114 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.4149, allocations: 1.613 MB / 1.115 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4149, allocations: 0 / 1.115 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.4155, allocations: 474.4 kB / 1.116 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4166, allocations: 232.3 kB / 1.116 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.4201, allocations: 2.541 MB / 1.118 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.4208, allocations: 1.094 MB / 1.119 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005181/0.4213, allocations: 215 kB / 1.12 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.4215, allocations: 63.44 kB / 1.12 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.4215, allocations: 0 / 1.12 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of Templates: time 0.02444/0.4459, allocations: 14.51 MB / 1.134 GB, free: 5.781 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)