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.008572/0.008573, allocations: 100.3 kB / 15.73 MB, free: 6.496 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.0019/0.0019, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.544/1.544, allocations: 251.7 MB / 0.5094 GB, free: 3.102 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.001474/0.001474, allocations: 67.89 kB / 0.7257 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2364, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005483/0.2419, allocations: 4.352 MB / 0.8323 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005188/0.2471, allocations: 2.997 MB / 0.8352 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000538/0.2477, allocations: 19.88 kB / 0.8352 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2487, allocations: 361.7 kB / 0.8355 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.2502, allocations: 0.6397 MB / 0.8362 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.2519, allocations: 0.6432 MB / 0.8368 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.2541, allocations: 1.871 MB / 0.8386 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.2545, allocations: 181.8 kB / 0.8388 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008614/0.2554, allocations: 0.5801 MB / 0.8394 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.2562, allocations: 0.6615 MB / 0.84 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2563, allocations: 80 kB / 0.8401 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.257, allocations: 419.4 kB / 0.8405 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.2575, allocations: 466.6 kB / 0.8409 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.2582, allocations: 0.5906 MB / 0.8415 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.2598, allocations: 1.468 MB / 0.8429 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2598, allocations: 0 / 0.8429 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2599, allocations: 4 kB / 0.8429 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.2599, allocations: 0 / 0.8429 GB, free: 0.8633 MB / 0.6544 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.003075/0.263, allocations: 1.616 MB / 0.8445 GB, free: 15.19 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.263, allocations: 8.031 kB / 0.8445 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.2632, allocations: 135.2 kB / 0.8447 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2646, allocations: 0.8388 MB / 0.8455 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.2647, allocations: 45.38 kB / 0.8455 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2648, allocations: 64.28 kB / 0.8456 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/0.2657, allocations: 0.6178 MB / 0.8462 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2657, allocations: 3.984 kB / 0.8462 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.2658, allocations: 20 kB / 0.8462 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2658, allocations: 15.94 kB / 0.8462 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.2666, allocations: 0.5543 MB / 0.8468 GB, free: 12.82 MB / 0.67 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.00461/0.2712, allocations: 3.274 MB / 0.85 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.2726, allocations: 0.8401 MB / 0.8508 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.2731, allocations: 365.4 kB / 0.8511 GB, free: 8.094 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.706e-05/0.2732, allocations: 28.28 kB / 0.8512 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2732, allocations: 38.94 kB / 0.8512 GB, free: 8.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.2732, allocations: 0 / 0.8512 GB, free: 8.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.001841/0.2751, allocations: 1.186 MB / 0.8524 GB, free: 6.805 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.2751, allocations: 59.41 kB / 0.8524 GB, free: 6.734 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.2767, allocations: 1.224 MB / 0.8536 GB, free: 5.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.2768, allocations: 41.7 kB / 0.8536 GB, free: 5.453 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.2771, allocations: 464.7 kB / 0.8541 GB, free: 4.992 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.2773, allocations: 173.5 kB / 0.8543 GB, free: 4.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.2776, allocations: 206.5 kB / 0.8545 GB, free: 4.613 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2778, allocations: 349.9 kB / 0.8548 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.2786, allocations: 0.6504 MB / 0.8554 GB, free: 3.617 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2796, allocations: 0.9669 MB / 0.8564 GB, free: 2.496 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.2814, allocations: 1.59 MB / 0.8579 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.2814, allocations: 4 kB / 0.8579 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002414/0.2838, allocations: 1.783 MB / 0.8597 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2838, allocations: 8 kB / 0.8597 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.2839, allocations: 12 kB / 0.8597 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.2841, allocations: 53.2 kB / 0.8597 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.2853, allocations: 263.7 kB / 0.86 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.2895, allocations: 6.839 MB / 0.8667 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.2906, allocations: 122.6 kB / 0.8668 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.2907, allocations: 40.28 kB / 0.8668 GB, free: 7.309 MB / 0.6856 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.0004744/0.2912, allocations: 309.4 kB / 0.8671 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.2914, allocations: 110.5 kB / 0.8672 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.2926, allocations: 0.8387 MB / 0.868 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.2926, allocations: 4 kB / 0.868 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2927, allocations: 11.92 kB / 0.8681 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2927, allocations: 7.938 kB / 0.8681 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2937, allocations: 0.9074 MB / 0.8689 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2937, allocations: 0 / 0.8689 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.2943, allocations: 115.8 kB / 0.8691 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.2944, allocations: 28.84 kB / 0.8691 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.2944, allocations: 15.98 kB / 0.8691 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.2955, allocations: 1.437 MB / 0.8705 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2955, allocations: 4.062 kB / 0.8705 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2971, allocations: 1.366 MB / 0.8718 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.2975, allocations: 263.4 kB / 0.8721 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.2977, allocations: 19.92 kB / 0.8721 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.2982, allocations: 23.97 kB / 0.8721 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.2983, allocations: 39.91 kB / 0.8722 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.2983, allocations: 15.98 kB / 0.8722 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001078/0.2994, allocations: 0.8194 MB / 0.873 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2994, allocations: 0 / 0.873 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001056/0.3005, allocations: 363.7 kB / 0.8733 GB, free: 388 kB / 0.6856 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.0005857/0.3011, allocations: 273.4 kB / 0.8736 GB, free: 104 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.3037, allocations: 1.503 MB / 0.8751 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3037, allocations: 0 / 0.8751 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3043, allocations: 470.8 kB / 0.8755 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3054, allocations: 234 kB / 0.8757 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.3088, allocations: 2.524 MB / 0.8782 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.3095, allocations: 1.102 MB / 0.8793 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005212/0.3101, allocations: 199.1 kB / 0.8795 GB, free: 10 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.3103, allocations: 71.42 kB / 0.8795 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.3103, allocations: 0 / 0.8795 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.02534/0.3356, allocations: 14.69 MB / 0.8939 GB, free: 11.4 MB / 0.7169 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)