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.006017/0.006017, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001372/0.001372, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.513/1.513, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.594/1.594, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.002424/0.002424, allocations: 63.91 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2589, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006503/0.2654, allocations: 4.353 MB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005642/0.2711, allocations: 2.992 MB / 0.8352 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009112/0.2721, allocations: 19.88 kB / 0.8352 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.2735, allocations: 361.7 kB / 0.8356 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.2752, allocations: 0.6454 MB / 0.8362 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.2771, allocations: 0.6348 MB / 0.8368 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002961/0.2801, allocations: 1.886 MB / 0.8386 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.2805, allocations: 177.8 kB / 0.8388 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.2819, allocations: 0.5801 MB / 0.8394 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.2833, allocations: 0.6576 MB / 0.84 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.2837, allocations: 80 kB / 0.8401 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2848, allocations: 411.4 kB / 0.8405 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007836/0.2856, allocations: 466.7 kB / 0.8409 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.2868, allocations: 0.5984 MB / 0.8415 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.2894, allocations: 1.482 MB / 0.843 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2894, allocations: 0 / 0.843 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2894, allocations: 0 / 0.843 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.745e-05/0.2894, allocations: 0 / 0.843 GB, free: 0.8359 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.003218/0.2927, allocations: 1.65 MB / 0.8446 GB, free: 15.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2927, allocations: 8.031 kB / 0.8446 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.2929, allocations: 148 kB / 0.8447 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.2943, allocations: 0.8475 MB / 0.8456 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.2943, allocations: 41.38 kB / 0.8456 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2944, allocations: 64.31 kB / 0.8457 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.2954, allocations: 0.6217 MB / 0.8463 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2954, allocations: 0 / 0.8463 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.2955, allocations: 16 kB / 0.8463 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2955, allocations: 15.94 kB / 0.8463 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007652/0.2963, allocations: 0.5582 MB / 0.8468 GB, free: 12.75 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.004505/0.3008, allocations: 3.287 MB / 0.8501 GB, free: 9.215 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.3022, allocations: 0.8323 MB / 0.8509 GB, free: 8.371 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.3027, allocations: 365.3 kB / 0.8512 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.3028, allocations: 32.3 kB / 0.8512 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3029, allocations: 34.94 kB / 0.8513 GB, free: 7.938 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/0.3029, allocations: 0 / 0.8513 GB, free: 7.938 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.001937/0.3048, allocations: 1.187 MB / 0.8524 GB, free: 6.723 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3049, allocations: 59.34 kB / 0.8525 GB, free: 6.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.3067, allocations: 1.231 MB / 0.8537 GB, free: 5.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.3068, allocations: 41.7 kB / 0.8537 GB, free: 5.363 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/0.3072, allocations: 465.3 kB / 0.8542 GB, free: 4.902 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.3074, allocations: 182.4 kB / 0.8544 GB, free: 4.723 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.3078, allocations: 214.6 kB / 0.8546 GB, free: 4.508 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.308, allocations: 345.9 kB / 0.8549 GB, free: 4.164 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/0.3089, allocations: 0.6426 MB / 0.8555 GB, free: 3.523 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.3099, allocations: 0.9747 MB / 0.8565 GB, free: 2.395 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.3117, allocations: 1.59 MB / 0.858 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3117, allocations: 0 / 0.858 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002346/0.3141, allocations: 1.792 MB / 0.8598 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3141, allocations: 8 kB / 0.8598 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.3141, allocations: 12 kB / 0.8598 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.3143, allocations: 44.83 kB / 0.8598 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.3155, allocations: 271.9 kB / 0.8601 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.3196, allocations: 6.844 MB / 0.8668 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3206, allocations: 127 kB / 0.8669 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.3207, allocations: 47.98 kB / 0.8669 GB, free: 7.184 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.0004289/0.3211, allocations: 293.7 kB / 0.8672 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.3213, allocations: 127.1 kB / 0.8673 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.3227, allocations: 0.8349 MB / 0.8682 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3227, allocations: 8 kB / 0.8682 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3227, allocations: 3.938 kB / 0.8682 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3227, allocations: 0 / 0.8682 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3238, allocations: 0.919 MB / 0.8691 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3238, allocations: 4 kB / 0.8691 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.3243, allocations: 111.8 kB / 0.8692 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.3245, allocations: 28.84 kB / 0.8692 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.3245, allocations: 19.92 kB / 0.8692 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3257, allocations: 1.437 MB / 0.8706 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3257, allocations: 0 / 0.8706 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.3274, allocations: 1.374 MB / 0.872 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.3278, allocations: 276.1 kB / 0.8722 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.3279, allocations: 23.92 kB / 0.8723 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.3284, allocations: 19.97 kB / 0.8723 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.3285, allocations: 31.95 kB / 0.8723 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3286, allocations: 16 kB / 0.8723 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00109/0.3297, allocations: 0.8154 MB / 0.8731 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3297, allocations: 0 / 0.8731 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001074/0.3308, allocations: 371.6 kB / 0.8735 GB, free: 252 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.0005409/0.3313, allocations: 270.8 kB / 0.8737 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.3338, allocations: 1.509 MB / 0.8752 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3338, allocations: 0 / 0.8752 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.3344, allocations: 472.4 kB / 0.8757 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3354, allocations: 224.5 kB / 0.8759 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.339, allocations: 2.559 MB / 0.8784 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.3398, allocations: 1.098 MB / 0.8794 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005082/0.3403, allocations: 203.1 kB / 0.8796 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.3405, allocations: 67.42 kB / 0.8797 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.3405, allocations: 0 / 0.8797 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of Templates: time 0.02562/0.3661, allocations: 14.7 MB / 0.8941 GB, free: 11.22 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)