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.001157/0.001157, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.007738/0.007738, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.565/1.565, allocations: 252 MB / 0.5105 GB, free: 4.613 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.0005053/0.0005053, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4667, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004507/0.4712, allocations: 3.964 MB / 0.7326 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.476, allocations: 2.99 MB / 0.7355 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.4767, allocations: 15.88 kB / 0.7355 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4778, allocations: 326.2 kB / 0.7358 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.4794, allocations: 0.599 MB / 0.7364 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.481, allocations: 0.5531 MB / 0.737 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002801/0.4838, allocations: 2.186 MB / 0.7391 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.4843, allocations: 165.9 kB / 0.7392 GB, free: 444 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.4854, allocations: 0.5135 MB / 0.7397 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.4866, allocations: 0.6694 MB / 0.7404 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.4868, allocations: 40 kB / 0.7404 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008477/0.4877, allocations: 395.4 kB / 0.7408 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000499/0.4882, allocations: 418.6 kB / 0.7412 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.4891, allocations: 0.5767 MB / 0.7418 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.4909, allocations: 1.409 MB / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4909, allocations: 0 / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4909, allocations: 0 / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.23e-05/0.4909, allocations: 0 / 0.7432 GB, free: 12.41 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.002917/0.4939, allocations: 1.468 MB / 0.7446 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4939, allocations: 8.031 kB / 0.7446 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.4942, allocations: 143.3 kB / 0.7447 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.4956, allocations: 0.8075 MB / 0.7455 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.4957, allocations: 45.38 kB / 0.7456 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4958, allocations: 64.31 kB / 0.7456 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.4968, allocations: 0.6257 MB / 0.7462 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4968, allocations: 4 kB / 0.7462 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.4968, allocations: 16 kB / 0.7463 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.4969, allocations: 8 kB / 0.7463 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.4976, allocations: 0.5621 MB / 0.7468 GB, free: 8.531 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.004486/0.5021, allocations: 3.298 MB / 0.75 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.5036, allocations: 0.8538 MB / 0.7509 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.504, allocations: 364.9 kB / 0.7512 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.874e-05/0.5041, allocations: 28.3 kB / 0.7512 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5041, allocations: 42.94 kB / 0.7513 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.5042, allocations: 0 / 0.7513 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001735/0.5059, allocations: 1.182 MB / 0.7524 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.506, allocations: 55.41 kB / 0.7525 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.5077, allocations: 1.227 MB / 0.7537 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.5077, allocations: 41.7 kB / 0.7537 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.5081, allocations: 476.6 kB / 0.7542 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.5083, allocations: 165.6 kB / 0.7543 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.5085, allocations: 125.6 kB / 0.7545 GB, free: 372 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5086, allocations: 349.9 kB / 0.7548 GB, free: 16 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/0.5095, allocations: 0.6465 MB / 0.7554 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.5106, allocations: 0.9825 MB / 0.7564 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5124, allocations: 1.586 MB / 0.7579 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5125, allocations: 4 kB / 0.7579 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002515/0.515, allocations: 1.783 MB / 0.7597 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.515, allocations: 8 kB / 0.7597 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.5151, allocations: 20.66 kB / 0.7597 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.5153, allocations: 48.83 kB / 0.7598 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.5165, allocations: 263.6 kB / 0.76 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.5206, allocations: 6.733 MB / 0.7666 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.5217, allocations: 134.9 kB / 0.7667 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/0.5219, allocations: 40 kB / 0.7667 GB, free: 3.16 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.0005426/0.5224, allocations: 305.4 kB / 0.767 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.5227, allocations: 114.5 kB / 0.7671 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.5241, allocations: 0.8505 MB / 0.768 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.5241, allocations: 4 kB / 0.768 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5241, allocations: 4 kB / 0.768 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5241, allocations: 0 / 0.768 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5254, allocations: 0.9113 MB / 0.7689 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5254, allocations: 7.922 kB / 0.7689 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.5259, allocations: 115.9 kB / 0.769 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.5261, allocations: 36.77 kB / 0.769 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.5261, allocations: 12 kB / 0.769 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000987/0.5271, allocations: 1.331 MB / 0.7703 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5271, allocations: 0 / 0.7703 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5289, allocations: 1.389 MB / 0.7717 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.5293, allocations: 259.5 kB / 0.7719 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.5295, allocations: 15.98 kB / 0.772 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/0.5301, allocations: 36.02 kB / 0.772 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.5302, allocations: 31.89 kB / 0.772 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5302, allocations: 16 kB / 0.772 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001162/0.5314, allocations: 0.8194 MB / 0.7728 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5314, allocations: 0 / 0.7728 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001104/0.5325, allocations: 367.6 kB / 0.7732 GB, free: 12.31 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.0005642/0.5331, allocations: 273 kB / 0.7734 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.5354, allocations: 1.507 MB / 0.7749 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5355, allocations: 0 / 0.7749 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.536, allocations: 475.3 kB / 0.7754 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5372, allocations: 208.5 kB / 0.7756 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.541, allocations: 3.066 MB / 0.7786 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.5417, allocations: 1.098 MB / 0.7796 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005378/0.5423, allocations: 203.1 kB / 0.7798 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.5425, allocations: 59.44 kB / 0.7799 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.5425, allocations: 0 / 0.7799 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.02547/0.568, allocations: 13.66 MB / 0.7932 GB, free: 7.844 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: