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.0009857/0.0009858, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001172/0.001172, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.471/1.471, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.537/1.537, allocations: 251.6 MB / 0.5089 GB, free: 3.328 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.001509/0.001509, allocations: 64.47 kB / 0.6217 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4719, allocations: 104.7 MB / 0.724 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004884/0.4768, allocations: 4.369 MB / 0.7282 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.4813, allocations: 2.982 MB / 0.7312 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.4816, allocations: 19.88 kB / 0.7312 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008526/0.4825, allocations: 322.2 kB / 0.7315 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.4837, allocations: 0.599 MB / 0.7321 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.485, allocations: 0.5771 MB / 0.7326 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.4869, allocations: 1.873 MB / 0.7345 GB, free: 2.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.4872, allocations: 185.9 kB / 0.7346 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.4879, allocations: 0.5916 MB / 0.7352 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007731/0.4887, allocations: 0.7123 MB / 0.7359 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.4888, allocations: 76 kB / 0.736 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.4894, allocations: 415.4 kB / 0.7364 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.4898, allocations: 454.6 kB / 0.7368 GB, free: 172 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.4903, allocations: 0.6024 MB / 0.7374 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.4915, allocations: 1.46 MB / 0.7388 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4915, allocations: 0 / 0.7388 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4916, allocations: 0 / 0.7388 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4916, allocations: 0 / 0.7388 GB, free: 14.1 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.002625/0.4942, allocations: 1.62 MB / 0.7404 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4943, allocations: 8.031 kB / 0.7404 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.4945, allocations: 135.2 kB / 0.7405 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4955, allocations: 0.8154 MB / 0.7413 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.4956, allocations: 45.38 kB / 0.7414 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4957, allocations: 64.28 kB / 0.7414 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.4966, allocations: 0.614 MB / 0.742 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4966, allocations: 3.938 kB / 0.742 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.4966, allocations: 20 kB / 0.7421 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.4967, allocations: 8 kB / 0.7421 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.4974, allocations: 0.5582 MB / 0.7426 GB, free: 10.08 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.003936/0.5013, allocations: 3.278 MB / 0.7458 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.5026, allocations: 0.85 MB / 0.7467 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.503, allocations: 357.4 kB / 0.747 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.5031, allocations: 36.23 kB / 0.747 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.5031, allocations: 34.88 kB / 0.7471 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 1.573e-06/0.5031, allocations: 0 / 0.7471 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.00149/0.5046, allocations: 1.186 MB / 0.7482 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5046, allocations: 55.41 kB / 0.7483 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.5061, allocations: 1.227 MB / 0.7495 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.5061, allocations: 41.7 kB / 0.7495 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.5065, allocations: 472.6 kB / 0.75 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.5066, allocations: 173.5 kB / 0.7501 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.5068, allocations: 206.5 kB / 0.7503 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.507, allocations: 357.9 kB / 0.7507 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.5077, allocations: 0.6387 MB / 0.7513 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.5086, allocations: 0.9708 MB / 0.7522 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.5102, allocations: 1.586 MB / 0.7538 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5102, allocations: 0 / 0.7538 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002023/0.5122, allocations: 1.787 MB / 0.7555 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5123, allocations: 8.812 kB / 0.7555 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.5123, allocations: 12 kB / 0.7555 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.5125, allocations: 48.83 kB / 0.7556 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5135, allocations: 267.6 kB / 0.7558 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.5176, allocations: 6.843 MB / 0.7625 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.5188, allocations: 130.6 kB / 0.7627 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.519, allocations: 40 kB / 0.7627 GB, free: 4.555 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.0005437/0.5195, allocations: 313.5 kB / 0.763 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.5198, allocations: 110.5 kB / 0.7631 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.521, allocations: 0.8387 MB / 0.7639 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.521, allocations: 4 kB / 0.7639 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.521, allocations: 4 kB / 0.7639 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.521, allocations: 3.984 kB / 0.7639 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.5221, allocations: 0.9074 MB / 0.7648 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5221, allocations: 4 kB / 0.7648 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.5226, allocations: 111.9 kB / 0.7649 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.5227, allocations: 32.83 kB / 0.765 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5228, allocations: 15.98 kB / 0.765 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009235/0.5237, allocations: 1.433 MB / 0.7664 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5237, allocations: 4.062 kB / 0.7664 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.5253, allocations: 1.374 MB / 0.7677 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.5257, allocations: 263.4 kB / 0.768 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5258, allocations: 15.94 kB / 0.768 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.5263, allocations: 39.89 kB / 0.768 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.5264, allocations: 23.97 kB / 0.768 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.5264, allocations: 19.98 kB / 0.7681 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009979/0.5274, allocations: 0.8154 MB / 0.7689 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5275, allocations: 0 / 0.7689 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009954/0.5285, allocations: 367.7 kB / 0.7692 GB, free: 13.62 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.0004802/0.5289, allocations: 275 kB / 0.7695 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.5314, allocations: 1.608 MB / 0.771 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5314, allocations: 0 / 0.771 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.5319, allocations: 467.3 kB / 0.7715 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/0.5329, allocations: 221 kB / 0.7717 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.5362, allocations: 2.88 MB / 0.7745 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.5369, allocations: 1.098 MB / 0.7756 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004934/0.5374, allocations: 203.1 kB / 0.7758 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.5376, allocations: 63.44 kB / 0.7758 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5376, allocations: 0 / 0.7758 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of Templates: time 0.02305/0.5606, allocations: 14.49 MB / 0.79 GB, free: 8.395 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)