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.001103/0.001103, allocations: 106.7 kB / 16.29 MB, free: 6.43 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.00104/0.00104, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.506/1.506, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.901/1.901, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001426/0.001426, allocations: 67.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 114.5 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.464/0.6953, allocations: 4.328 MB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005457/0.7008, allocations: 2.985 MB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.7016, allocations: 23.62 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.7027, allocations: 361.1 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.7041, allocations: 0.6401 MB / 0.7922 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.7058, allocations: 0.6348 MB / 0.7928 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.7079, allocations: 1.881 MB / 0.7946 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.7083, allocations: 179.4 kB / 0.7948 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.7092, allocations: 0.5829 MB / 0.7954 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008326/0.71, allocations: 0.6561 MB / 0.796 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.7102, allocations: 78.31 kB / 0.7961 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007903/0.711, allocations: 418.4 kB / 0.7965 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.7114, allocations: 468.4 kB / 0.7969 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.712, allocations: 0.599 MB / 0.7975 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.7137, allocations: 1.463 MB / 0.799 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7137, allocations: 0 / 0.799 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7137, allocations: 0 / 0.799 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.7137, allocations: 7.156 kB / 0.799 GB, free: 44.61 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.003036/0.7167, allocations: 1.618 MB / 0.8006 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7168, allocations: 8.219 kB / 0.8006 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.717, allocations: 132 kB / 0.8007 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.7184, allocations: 0.8168 MB / 0.8015 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.7185, allocations: 43.44 kB / 0.8015 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.7186, allocations: 65.36 kB / 0.8016 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7197, allocations: 0.6176 MB / 0.8022 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.7197, allocations: 0 / 0.8022 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.7198, allocations: 20.19 kB / 0.8022 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.7198, allocations: 10.19 kB / 0.8022 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.7207, allocations: 0.5594 MB / 0.8028 GB, free: 42.56 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.004924/0.7257, allocations: 3.279 MB / 0.806 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.7273, allocations: 0.8456 MB / 0.8068 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.7278, allocations: 362.6 kB / 0.8071 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.7279, allocations: 32.33 kB / 0.8072 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.728, allocations: 41.83 kB / 0.8072 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.936e-06/0.728, allocations: 4.531 kB / 0.8072 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002208/0.7302, allocations: 1.173 MB / 0.8084 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.7302, allocations: 57.33 kB / 0.8084 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.7323, allocations: 1.231 MB / 0.8096 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/0.7324, allocations: 41.17 kB / 0.8097 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.7328, allocations: 464.4 kB / 0.8101 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.733, allocations: 171.7 kB / 0.8103 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.7333, allocations: 210.3 kB / 0.8105 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7334, allocations: 358.1 kB / 0.8108 GB, free: 38.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.7343, allocations: 0.6436 MB / 0.8114 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.7354, allocations: 0.9699 MB / 0.8124 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.7372, allocations: 1.588 MB / 0.8139 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.7373, allocations: 3.562 kB / 0.8139 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002876/0.7401, allocations: 1.782 MB / 0.8157 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.7402, allocations: 10.44 kB / 0.8157 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.7402, allocations: 12.47 kB / 0.8157 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.7405, allocations: 49.3 kB / 0.8157 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.7417, allocations: 265.1 kB / 0.816 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.7451, allocations: 6.827 MB / 0.8227 GB, free: 29.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7464, allocations: 135.6 kB / 0.8228 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.7465, allocations: 41.3 kB / 0.8228 GB, free: 29.29 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.0005598/0.7471, allocations: 305.3 kB / 0.8231 GB, free: 29.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.7473, allocations: 111.8 kB / 0.8232 GB, free: 29.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.7488, allocations: 0.8458 MB / 0.8241 GB, free: 28.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.7488, allocations: 12.47 kB / 0.8241 GB, free: 28.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7488, allocations: 1.156 kB / 0.8241 GB, free: 28.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7488, allocations: 3.047 kB / 0.8241 GB, free: 28.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.7502, allocations: 0.9089 MB / 0.825 GB, free: 28.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7502, allocations: 2.047 kB / 0.825 GB, free: 28.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.7508, allocations: 109.1 kB / 0.8251 GB, free: 28.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.7509, allocations: 31.84 kB / 0.8251 GB, free: 28.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.751, allocations: 21.14 kB / 0.8251 GB, free: 28.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/0.7518, allocations: 1.44 MB / 0.8265 GB, free: 26.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7518, allocations: 0 / 0.8265 GB, free: 26.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.7536, allocations: 1.364 MB / 0.8279 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.7541, allocations: 257.2 kB / 0.8281 GB, free: 26.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.7542, allocations: 20.19 kB / 0.8281 GB, free: 26.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.7548, allocations: 28.31 kB / 0.8281 GB, free: 26.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7549, allocations: 27.22 kB / 0.8282 GB, free: 26.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.7549, allocations: 14.28 kB / 0.8282 GB, free: 26.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001439/0.7564, allocations: 0.8194 MB / 0.829 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7564, allocations: 2 kB / 0.829 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001529/0.7579, allocations: 362 kB / 0.8293 GB, free: 25.8 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.0005739/0.7585, allocations: 278.7 kB / 0.8296 GB, free: 25.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002825/0.7613, allocations: 1.504 MB / 0.8311 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7614, allocations: 1.719 kB / 0.8311 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.762, allocations: 486.7 kB / 0.8315 GB, free: 24.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.7632, allocations: 223.1 kB / 0.8317 GB, free: 24.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.7671, allocations: 2.513 MB / 0.8342 GB, free: 23.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/0.768, allocations: 1.102 MB / 0.8353 GB, free: 22.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007774/0.7688, allocations: 204 kB / 0.8355 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.7691, allocations: 67.28 kB / 0.8355 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/0.7691, allocations: 1 kB / 0.8355 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.03269/0.8018, allocations: 14.52 MB / 0.8497 GB, free: 18.38 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 cvode -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)