Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001436/0.001436, allocations: 101.6 kB / 16.35 MB, free: 5.879 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.00171/0.00171, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.02 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.215, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.3724/0.5874, allocations: 4.334 MB / 0.789 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.5911, allocations: 2.983 MB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.5915, allocations: 20.44 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.5923, allocations: 369.1 kB / 0.7923 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009999/0.5933, allocations: 0.6383 MB / 0.7929 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.5947, allocations: 0.6302 MB / 0.7935 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.5965, allocations: 1.88 MB / 0.7954 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.5968, allocations: 176.4 kB / 0.7955 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.5974, allocations: 0.5881 MB / 0.7961 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.5981, allocations: 0.6538 MB / 0.7967 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.5982, allocations: 78.84 kB / 0.7968 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.5988, allocations: 415.1 kB / 0.7972 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.5992, allocations: 469 kB / 0.7976 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.5997, allocations: 0.5977 MB / 0.7982 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.6012, allocations: 1.466 MB / 0.7997 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6012, allocations: 0 / 0.7997 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6012, allocations: 4.344 kB / 0.7997 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.6012, allocations: 0 / 0.7997 GB, free: 44.06 MB / 0.6544 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.00339/0.6046, allocations: 1.621 MB / 0.8013 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6047, allocations: 11.03 kB / 0.8013 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.605, allocations: 132.5 kB / 0.8014 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.6069, allocations: 0.8123 MB / 0.8022 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.6069, allocations: 48.81 kB / 0.8022 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6071, allocations: 62.92 kB / 0.8023 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.6085, allocations: 0.6163 MB / 0.8029 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6085, allocations: 0 / 0.8029 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.6086, allocations: 17.27 kB / 0.8029 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.6086, allocations: 11.62 kB / 0.8029 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.6098, allocations: 0.5592 MB / 0.8035 GB, free: 42 MB / 0.6544 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.006565/0.6164, allocations: 3.28 MB / 0.8067 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.6187, allocations: 0.8472 MB / 0.8075 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.6194, allocations: 362.6 kB / 0.8078 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.875e-05/0.6196, allocations: 27.56 kB / 0.8079 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.6196, allocations: 41.94 kB / 0.8079 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.995e-06/0.6196, allocations: 0 / 0.8079 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002824/0.6224, allocations: 1.178 MB / 0.8091 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.6225, allocations: 56.22 kB / 0.8091 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.6252, allocations: 1.231 MB / 0.8103 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.6253, allocations: 40.11 kB / 0.8104 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.6258, allocations: 468.7 kB / 0.8108 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.626, allocations: 172.2 kB / 0.811 GB, free: 37.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000382/0.6264, allocations: 214.3 kB / 0.8112 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6266, allocations: 353.7 kB / 0.8115 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.6277, allocations: 0.6414 MB / 0.8121 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.6292, allocations: 0.9738 MB / 0.8131 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.6317, allocations: 1.588 MB / 0.8146 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.6317, allocations: 4.75 kB / 0.8146 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003699/0.6354, allocations: 1.781 MB / 0.8164 GB, free: 35.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.6355, allocations: 14.8 kB / 0.8164 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/0.6355, allocations: 13.25 kB / 0.8164 GB, free: 35.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.6358, allocations: 49.03 kB / 0.8164 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.6377, allocations: 264.9 kB / 0.8167 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.6416, allocations: 6.833 MB / 0.8234 GB, free: 28.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.6433, allocations: 131.3 kB / 0.8235 GB, free: 28.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.6434, allocations: 37.05 kB / 0.8235 GB, free: 28.73 MB / 0.6544 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.0006314/0.644, allocations: 306 kB / 0.8238 GB, free: 28.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.6443, allocations: 113.3 kB / 0.8239 GB, free: 28.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.6461, allocations: 0.8475 MB / 0.8248 GB, free: 28.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6461, allocations: 3.719 kB / 0.8248 GB, free: 28.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6462, allocations: 1.25 kB / 0.8248 GB, free: 28.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.6462, allocations: 2.062 kB / 0.8248 GB, free: 28.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.6478, allocations: 0.9106 MB / 0.8257 GB, free: 27.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6479, allocations: 1.312 kB / 0.8257 GB, free: 27.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.6486, allocations: 111.8 kB / 0.8258 GB, free: 27.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.6488, allocations: 34.27 kB / 0.8258 GB, free: 27.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.6489, allocations: 16.92 kB / 0.8258 GB, free: 27.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009921/0.6499, allocations: 1.438 MB / 0.8272 GB, free: 26.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6499, allocations: 0 / 0.8272 GB, free: 26.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.6523, allocations: 1.364 MB / 0.8286 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.653, allocations: 259.1 kB / 0.8288 GB, free: 25.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.6532, allocations: 22.36 kB / 0.8288 GB, free: 25.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/0.654, allocations: 23.8 kB / 0.8288 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.6542, allocations: 30.3 kB / 0.8289 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.6542, allocations: 13.77 kB / 0.8289 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001718/0.656, allocations: 0.8201 MB / 0.8297 GB, free: 25.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/0.656, allocations: 0 / 0.8297 GB, free: 25.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001287/0.6573, allocations: 368.1 kB / 0.83 GB, free: 25.24 MB / 0.6544 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.0004877/0.6578, allocations: 279.6 kB / 0.8303 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00327/0.6611, allocations: 1.502 MB / 0.8318 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6611, allocations: 4.062 kB / 0.8318 GB, free: 24.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007349/0.6618, allocations: 478.1 kB / 0.8322 GB, free: 24.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.6635, allocations: 232.9 kB / 0.8325 GB, free: 24.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.6683, allocations: 2.505 MB / 0.8349 GB, free: 22.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.6692, allocations: 1.105 MB / 0.836 GB, free: 22.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009568/0.6702, allocations: 202 kB / 0.8362 GB, free: 22.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.6705, allocations: 69.39 kB / 0.8362 GB, free: 22.15 MB / 0.6544 GB Notification: Performance of SimCode: time 1.292e-06/0.6705, allocations: 4 kB / 0.8362 GB, free: 22.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.03794/0.7085, allocations: 14.54 MB / 0.8504 GB, free: 17.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)