Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00114/0.001141, allocations: 108 kB / 15.61 MB, free: 148 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.001264/0.001264, allocations: 193.1 kB / 16.53 MB, free: 6.691 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.527/1.527, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.674/1.674, allocations: 251.7 MB / 0.5092 GB, free: 3.164 MB / 414.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.001885/0.001885, allocations: 67.91 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5806, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005925/0.5866, allocations: 4.346 MB / 0.7287 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005443/0.5921, allocations: 2.993 MB / 0.7317 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006582/0.5928, allocations: 19.88 kB / 0.7317 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.5939, allocations: 369.6 kB / 0.732 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5955, allocations: 0.6454 MB / 0.7327 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5974, allocations: 0.6275 MB / 0.7333 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.5998, allocations: 1.874 MB / 0.7351 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.6002, allocations: 173.9 kB / 0.7353 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.6012, allocations: 0.584 MB / 0.7358 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.6022, allocations: 0.6733 MB / 0.7365 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.6023, allocations: 76 kB / 0.7366 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.6034, allocations: 411.4 kB / 0.737 GB, free: 96 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007373/0.6041, allocations: 454.6 kB / 0.7374 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.605, allocations: 0.6023 MB / 0.738 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.6071, allocations: 1.456 MB / 0.7394 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6071, allocations: 0 / 0.7394 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6071, allocations: 0 / 0.7394 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.6072, allocations: 4 kB / 0.7394 GB, free: 13.58 MB / 0.5606 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.003165/0.6103, allocations: 1.608 MB / 0.741 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6104, allocations: 12.03 kB / 0.741 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.6106, allocations: 135.2 kB / 0.7411 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.612, allocations: 0.8115 MB / 0.7419 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.612, allocations: 37.38 kB / 0.742 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.6122, allocations: 72.27 kB / 0.742 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.6131, allocations: 0.6178 MB / 0.7426 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.6131, allocations: 0 / 0.7426 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.6132, allocations: 19.98 kB / 0.7426 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.6132, allocations: 12 kB / 0.7427 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.614, allocations: 0.5582 MB / 0.7432 GB, free: 9.57 MB / 0.5606 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.005653/0.6197, allocations: 3.294 MB / 0.7464 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6211, allocations: 0.8458 MB / 0.7472 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.6216, allocations: 357.4 kB / 0.7476 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.6217, allocations: 28.3 kB / 0.7476 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.6218, allocations: 42.88 kB / 0.7477 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.455e-06/0.6218, allocations: 0 / 0.7477 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001875/0.6236, allocations: 1.182 MB / 0.7488 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6237, allocations: 55.41 kB / 0.7489 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.6255, allocations: 1.231 MB / 0.7501 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.6255, allocations: 41.7 kB / 0.7501 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.6259, allocations: 464.7 kB / 0.7505 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6261, allocations: 177.5 kB / 0.7507 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.6264, allocations: 206.5 kB / 0.7509 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6266, allocations: 357.9 kB / 0.7513 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008032/0.6274, allocations: 0.6387 MB / 0.7519 GB, free: 356 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.6285, allocations: 0.9747 MB / 0.7528 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.6305, allocations: 1.59 MB / 0.7544 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.6305, allocations: 4 kB / 0.7544 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00279/0.6333, allocations: 1.779 MB / 0.7561 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.6334, allocations: 16.22 kB / 0.7561 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/0.6334, allocations: 15.98 kB / 0.7562 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.6337, allocations: 44.83 kB / 0.7562 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6349, allocations: 267.6 kB / 0.7565 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.6392, allocations: 6.828 MB / 0.7631 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.6407, allocations: 134.6 kB / 0.7633 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.6407, allocations: 36 kB / 0.7633 GB, free: 4.043 MB / 0.5762 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.0005316/0.6413, allocations: 309.6 kB / 0.7636 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.6415, allocations: 110.5 kB / 0.7637 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.6427, allocations: 0.8426 MB / 0.7645 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.6427, allocations: 4 kB / 0.7645 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6427, allocations: 0 / 0.7645 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6427, allocations: 0 / 0.7645 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.6438, allocations: 0.9152 MB / 0.7654 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6438, allocations: 4 kB / 0.7654 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.6443, allocations: 107.9 kB / 0.7655 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.6445, allocations: 32.83 kB / 0.7655 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.6445, allocations: 12 kB / 0.7656 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.6456, allocations: 1.441 MB / 0.767 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6456, allocations: 8.094 kB / 0.767 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.6473, allocations: 1.366 MB / 0.7683 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.6478, allocations: 263.4 kB / 0.7686 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6479, allocations: 19.92 kB / 0.7686 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.6485, allocations: 27.97 kB / 0.7686 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.6486, allocations: 31.95 kB / 0.7686 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.6486, allocations: 12 kB / 0.7686 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001215/0.6498, allocations: 0.8194 MB / 0.7694 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6499, allocations: 0 / 0.7694 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001252/0.6511, allocations: 367.6 kB / 0.7698 GB, free: 13.12 MB / 0.5919 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.0005985/0.6517, allocations: 279 kB / 0.7701 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.6549, allocations: 1.601 MB / 0.7716 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6549, allocations: 0 / 0.7716 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.6556, allocations: 474.8 kB / 0.7721 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.657, allocations: 237 kB / 0.7723 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.6611, allocations: 2.544 MB / 0.7748 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.6619, allocations: 1.11 MB / 0.7759 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000649/0.6625, allocations: 199.1 kB / 0.7761 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.6628, allocations: 71.42 kB / 0.7761 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of SimCode: time 9.71e-07/0.6628, allocations: 0 / 0.7761 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of Templates: time 0.02895/0.6917, allocations: 14.52 MB / 0.7903 GB, free: 8.172 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)