Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.4 MB / 303.4 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001146, allocations: 183.7 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 93.58 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004115, allocations: 15.23 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003337/0.2385, allocations: 3.771 MB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.2428, allocations: 2.836 MB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.2434, allocations: 15.88 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.2442, allocations: 306.4 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.2453, allocations: 0.5677 MB / 0.9869 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2467, allocations: 0.503 MB / 0.9874 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.2482, allocations: 1.765 MB / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.2485, allocations: 144.5 kB / 0.9892 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.2492, allocations: 0.5176 MB / 0.9897 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.2498, allocations: 0.6657 MB / 0.9904 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.25, allocations: 44 kB / 0.9904 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.2506, allocations: 315.6 kB / 0.9907 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.2509, allocations: 422.8 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.2511, allocations: 237 kB / 0.9914 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007813/0.2519, allocations: 1.06 MB / 0.9924 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2519, allocations: 4 kB / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.514e-06/0.2519, allocations: 0 / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.2519, allocations: 0 / 0.9924 GB, free: 14.47 MB / 0.6198 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.002345/0.2543, allocations: 1.48 MB / 0.9938 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2543, allocations: 12.03 kB / 0.9939 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2545, allocations: 134.3 kB / 0.994 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.2555, allocations: 0.772 MB / 0.9947 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.2555, allocations: 48.94 kB / 0.9948 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.2556, allocations: 67.89 kB / 0.9948 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.2564, allocations: 0.6138 MB / 0.9954 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2564, allocations: 3.938 kB / 0.9955 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.2565, allocations: 16 kB / 0.9955 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2565, allocations: 12 kB / 0.9955 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.2571, allocations: 0.5543 MB / 0.996 GB, free: 10.64 MB / 0.6198 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.003743/0.2608, allocations: 3.298 MB / 0.9992 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.262, allocations: 0.8528 MB / 1 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.2624, allocations: 361.4 kB / 1 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.2625, allocations: 32.28 kB / 1 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2625, allocations: 38.94 kB / 1 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 2.835e-06/0.2625, allocations: 0 / 1 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.00146/0.264, allocations: 1.176 MB / 1.002 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.264, allocations: 59.41 kB / 1.002 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.2655, allocations: 1.219 MB / 1.003 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.2655, allocations: 41.7 kB / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.2658, allocations: 468.7 kB / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2659, allocations: 169.5 kB / 1.004 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.266, allocations: 19.94 kB / 1.004 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.2661, allocations: 361.9 kB / 1.004 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.2667, allocations: 0.6387 MB / 1.005 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.2675, allocations: 0.9708 MB / 1.005 GB, free: 488 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/0.2683, allocations: 0.7404 MB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2683, allocations: 4 kB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002364/0.2707, allocations: 1.779 MB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2707, allocations: 8 kB / 1.008 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.2707, allocations: 12 kB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.2709, allocations: 48.83 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.2721, allocations: 271.8 kB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.2763, allocations: 6.733 MB / 1.015 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.2777, allocations: 130.7 kB / 1.015 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.2778, allocations: 36 kB / 1.015 GB, free: 6.387 MB / 0.6355 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 (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005185/0.2783, allocations: 305.6 kB / 1.015 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2785, allocations: 110.5 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2797, allocations: 0.8569 MB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2798, allocations: 4 kB / 1.016 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2798, allocations: 4 kB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.2798, allocations: 3.953 kB / 1.016 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2809, allocations: 0.9113 MB / 1.017 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2809, allocations: 0 / 1.017 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.2815, allocations: 115.8 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.2816, allocations: 28.78 kB / 1.017 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.2817, allocations: 23.92 kB / 1.017 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009873/0.2826, allocations: 1.335 MB / 1.019 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2827, allocations: 0 / 1.019 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.2843, allocations: 1.366 MB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.2847, allocations: 271.4 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2848, allocations: 16 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.2854, allocations: 40.08 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.2855, allocations: 31.89 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2855, allocations: 12 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001128/0.2867, allocations: 0.8076 MB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2867, allocations: 0 / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001076/0.2877, allocations: 367.6 kB / 1.021 GB, free: 15.56 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.2882, allocations: 200.6 kB / 1.022 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.2906, allocations: 1.511 MB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2907, allocations: 4.062 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.2913, allocations: 474.4 kB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2924, allocations: 220.1 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.2966, allocations: 2.967 MB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.2973, allocations: 1.09 MB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006605/0.298, allocations: 203.1 kB / 1.028 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.2982, allocations: 71.42 kB / 1.028 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/0.2982, allocations: 0 / 1.028 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.0241/0.3223, allocations: 13.2 MB / 1.041 GB, free: 11.69 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)