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.001064/0.001063, 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.001539/0.00154, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.417/1.417, allocations: 205.1 MB / 222 MB, free: 4.73 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.526/1.526, allocations: 251.6 MB / 0.5088 GB, free: 3.324 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.00138/0.00138, allocations: 63.91 kB / 0.6215 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4579, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005069/0.463, allocations: 4.365 MB / 0.7281 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004871/0.4679, allocations: 3.025 MB / 0.731 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.4685, allocations: 19.88 kB / 0.731 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.4695, allocations: 326.2 kB / 0.7313 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.4706, allocations: 0.595 MB / 0.7319 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.472, allocations: 0.5566 MB / 0.7325 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001987/0.474, allocations: 2.19 MB / 0.7346 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.4743, allocations: 153.9 kB / 0.7348 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007999/0.4751, allocations: 0.5213 MB / 0.7353 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.4759, allocations: 0.685 MB / 0.7359 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.476, allocations: 48 kB / 0.736 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007263/0.4768, allocations: 395.4 kB / 0.7364 GB, free: 224 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.4772, allocations: 426.6 kB / 0.7368 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.4777, allocations: 0.5671 MB / 0.7373 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.4789, allocations: 1.425 MB / 0.7387 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4789, allocations: 3.938 kB / 0.7387 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4789, allocations: 0 / 0.7387 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.4789, allocations: 0 / 0.7387 GB, free: 13.8 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.002795/0.4817, allocations: 1.62 MB / 0.7403 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4818, allocations: 8.031 kB / 0.7403 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.482, allocations: 143.2 kB / 0.7404 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.4831, allocations: 0.8154 MB / 0.7412 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.4831, allocations: 41.38 kB / 0.7413 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.485e-05/0.4832, allocations: 68.28 kB / 0.7413 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008278/0.4841, allocations: 0.614 MB / 0.7419 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4841, allocations: 4 kB / 0.7419 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.4841, allocations: 16 kB / 0.742 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4842, allocations: 11.94 kB / 0.742 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.4849, allocations: 0.5621 MB / 0.7425 GB, free: 9.766 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.004038/0.4889, allocations: 3.282 MB / 0.7457 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.4902, allocations: 0.844 MB / 0.7465 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.4907, allocations: 357.4 kB / 0.7469 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.4907, allocations: 32.3 kB / 0.7469 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4908, allocations: 38.88 kB / 0.747 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.285e-06/0.4908, allocations: 0 / 0.747 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001626/0.4924, allocations: 1.178 MB / 0.7481 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.4925, allocations: 55.41 kB / 0.7482 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4939, allocations: 1.235 MB / 0.7494 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.4939, allocations: 41.7 kB / 0.7494 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.4942, allocations: 468.7 kB / 0.7498 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4944, allocations: 169.5 kB / 0.75 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.4946, allocations: 210.5 kB / 0.7502 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4948, allocations: 349.9 kB / 0.7505 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/0.4955, allocations: 0.6464 MB / 0.7512 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009128/0.4964, allocations: 0.9709 MB / 0.7521 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.498, allocations: 1.59 MB / 0.7537 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.498, allocations: 0 / 0.7537 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002153/0.5002, allocations: 1.783 MB / 0.7554 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5002, allocations: 9.875 kB / 0.7554 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.5002, allocations: 12 kB / 0.7554 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.5004, allocations: 48.83 kB / 0.7555 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.5016, allocations: 275.9 kB / 0.7557 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.5051, allocations: 6.725 MB / 0.7623 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.5062, allocations: 134.6 kB / 0.7624 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.5063, allocations: 47.92 kB / 0.7625 GB, free: 4.352 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.0004053/0.5067, allocations: 301.6 kB / 0.7628 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.5068, allocations: 110.6 kB / 0.7629 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.508, allocations: 0.8504 MB / 0.7637 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.508, allocations: 4 kB / 0.7637 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.508, allocations: 0 / 0.7637 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.508, allocations: 0 / 0.7637 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.509, allocations: 0.9075 MB / 0.7646 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.509, allocations: 4 kB / 0.7646 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.5095, allocations: 107.9 kB / 0.7647 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.5097, allocations: 40.77 kB / 0.7647 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.5097, allocations: 12 kB / 0.7648 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008733/0.5106, allocations: 1.334 MB / 0.7661 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5106, allocations: 0 / 0.7661 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.5122, allocations: 1.381 MB / 0.7674 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.5125, allocations: 259.5 kB / 0.7677 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.5126, allocations: 15.94 kB / 0.7677 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.5132, allocations: 39.8 kB / 0.7677 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.5133, allocations: 27.97 kB / 0.7677 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.5133, allocations: 15.98 kB / 0.7678 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001031/0.5144, allocations: 0.8194 MB / 0.7686 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5144, allocations: 0 / 0.7686 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009779/0.5154, allocations: 367.6 kB / 0.7689 GB, free: 13.53 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.0004909/0.5159, allocations: 271.5 kB / 0.7692 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.5182, allocations: 1.498 MB / 0.7706 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5182, allocations: 0 / 0.7706 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.5187, allocations: 480.4 kB / 0.7711 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5199, allocations: 208.5 kB / 0.7713 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.5233, allocations: 2.862 MB / 0.7741 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.524, allocations: 1.106 MB / 0.7752 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005466/0.5245, allocations: 199.1 kB / 0.7753 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.5247, allocations: 71.42 kB / 0.7754 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.5247, allocations: 0 / 0.7754 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of Templates: time 0.02427/0.549, allocations: 13.92 MB / 0.789 GB, free: 8.984 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)