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.001298/0.001298, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001125/0.001125, allocations: 194.2 kB / 16.14 MB, free: 6.656 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.08 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3575, allocations: 159.9 MB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005546/0.3631, allocations: 4.364 MB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.3683, allocations: 2.988 MB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.3691, allocations: 19.88 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3703, allocations: 326.2 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.3717, allocations: 0.5985 MB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3731, allocations: 0.5498 MB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.3753, allocations: 2.194 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.3756, allocations: 161.8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.3764, allocations: 0.5135 MB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.3772, allocations: 0.685 MB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.3774, allocations: 48 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.3781, allocations: 395.4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.3785, allocations: 430.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005344/0.3791, allocations: 0.5632 MB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3804, allocations: 1.44 MB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3805, allocations: 0 / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3805, allocations: 0 / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.3805, allocations: 0 / 1.082 GB, free: 11.54 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.002921/0.3834, allocations: 1.62 MB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.3835, allocations: 12.03 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.3837, allocations: 131.3 kB / 1.084 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.385, allocations: 0.8114 MB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.385, allocations: 45.38 kB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.3851, allocations: 60.38 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.386, allocations: 0.6256 MB / 1.086 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.386, allocations: 0 / 1.086 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.3861, allocations: 16 kB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3861, allocations: 8 kB / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.3869, allocations: 0.5543 MB / 1.086 GB, free: 7.543 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.004519/0.3914, allocations: 3.282 MB / 1.089 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.3927, allocations: 0.8478 MB / 1.09 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.3932, allocations: 363.4 kB / 1.091 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.3933, allocations: 40.14 kB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3933, allocations: 34.94 kB / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.3933, allocations: 0 / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001768/0.3951, allocations: 1.172 MB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3951, allocations: 59.39 kB / 1.092 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.3967, allocations: 1.227 MB / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.3968, allocations: 41.7 kB / 1.093 GB, free: 168 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.3972, allocations: 468.7 kB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.3974, allocations: 169.5 kB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.3976, allocations: 210.5 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3978, allocations: 349.9 kB / 1.094 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000746/0.3985, allocations: 0.6426 MB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/0.3995, allocations: 0.9708 MB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.4012, allocations: 1.59 MB / 1.097 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4012, allocations: 11.92 kB / 1.097 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002264/0.4035, allocations: 1.783 MB / 1.099 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4035, allocations: 8 kB / 1.099 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.4035, allocations: 12 kB / 1.099 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.4038, allocations: 48.83 kB / 1.099 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4049, allocations: 271.9 kB / 1.099 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.4087, allocations: 6.729 MB / 1.106 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4099, allocations: 134.6 kB / 1.106 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.41, allocations: 40 kB / 1.106 GB, free: 2.117 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.0004617/0.4104, allocations: 311.9 kB / 1.106 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.4106, allocations: 114.5 kB / 1.107 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.4118, allocations: 0.8414 MB / 1.107 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4118, allocations: 4 kB / 1.107 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4118, allocations: 0 / 1.107 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4118, allocations: 7.984 kB / 1.107 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4129, allocations: 0.9073 MB / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4129, allocations: 0 / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.4134, allocations: 111.8 kB / 1.108 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.4135, allocations: 36.77 kB / 1.108 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.4136, allocations: 19.98 kB / 1.108 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008839/0.4145, allocations: 1.331 MB / 1.11 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4145, allocations: 7.938 kB / 1.11 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.4161, allocations: 1.374 MB / 1.111 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.4165, allocations: 255.5 kB / 1.111 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.4166, allocations: 19.98 kB / 1.111 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.4172, allocations: 31.91 kB / 1.111 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.4173, allocations: 35.95 kB / 1.111 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.4173, allocations: 8 kB / 1.111 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001137/0.4185, allocations: 0.8194 MB / 1.112 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.625e-06/0.4185, allocations: 0 / 1.112 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001113/0.4196, allocations: 371.5 kB / 1.113 GB, free: 11.29 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.0006459/0.4203, allocations: 280.6 kB / 1.113 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002456/0.4227, allocations: 1.495 MB / 1.114 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4227, allocations: 4 kB / 1.114 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.4233, allocations: 474.3 kB / 1.115 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4245, allocations: 216.6 kB / 1.115 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.4288, allocations: 2.87 MB / 1.118 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.4296, allocations: 1.094 MB / 1.119 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005948/0.4302, allocations: 203.1 kB / 1.119 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.4304, allocations: 63.44 kB / 1.119 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.4305, allocations: 7.938 kB / 1.119 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of Templates: time 0.02676/0.4572, allocations: 13.91 MB / 1.133 GB, free: 6.738 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)