Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007323/0.0007324, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007684/0.0007687, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0004977/0.0004977, allocations: 15.28 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.269, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004279/0.2733, allocations: 3.767 MB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.2784, allocations: 2.836 MB / 0.7937 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.2789, allocations: 15.88 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.2797, allocations: 310.3 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.2808, allocations: 0.5654 MB / 0.7946 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.2821, allocations: 0.5029 MB / 0.7951 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.2839, allocations: 1.77 MB / 0.7968 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.2842, allocations: 148.3 kB / 0.7969 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.2849, allocations: 0.5138 MB / 0.7974 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.2857, allocations: 0.6618 MB / 0.7981 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.2858, allocations: 48 kB / 0.7981 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.2864, allocations: 303.6 kB / 0.7984 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.2868, allocations: 426.7 kB / 0.7988 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.287, allocations: 241.1 kB / 0.7991 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.2879, allocations: 1.064 MB / 0.8001 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2879, allocations: 0 / 0.8001 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2879, allocations: 0 / 0.8001 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.288, allocations: 0 / 0.8001 GB, free: 14.75 MB / 0.6231 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.002476/0.2904, allocations: 1.468 MB / 0.8015 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2905, allocations: 19.97 kB / 0.8016 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.2907, allocations: 134.3 kB / 0.8017 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2918, allocations: 0.7837 MB / 0.8024 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.2918, allocations: 41 kB / 0.8025 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.2919, allocations: 67.91 kB / 0.8026 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.2927, allocations: 0.6099 MB / 0.8031 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2928, allocations: 3.984 kB / 0.8032 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.2928, allocations: 19.98 kB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2928, allocations: 12 kB / 0.8032 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.2935, allocations: 0.5582 MB / 0.8037 GB, free: 10.91 MB / 0.6231 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.003925/0.2975, allocations: 3.294 MB / 0.8069 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.2988, allocations: 0.8593 MB / 0.8078 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.2992, allocations: 357.4 kB / 0.8081 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.71e-05/0.2993, allocations: 28.34 kB / 0.8082 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.2993, allocations: 38.94 kB / 0.8082 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.535e-06/0.2993, allocations: 0 / 0.8082 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001658/0.301, allocations: 1.179 MB / 0.8093 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.301, allocations: 63.41 kB / 0.8094 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3025, allocations: 1.223 MB / 0.8106 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.3026, allocations: 37.7 kB / 0.8106 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.3029, allocations: 460.7 kB / 0.8111 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.3031, allocations: 177.5 kB / 0.8112 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3031, allocations: 12 kB / 0.8113 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3032, allocations: 357.9 kB / 0.8116 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.304, allocations: 0.6426 MB / 0.8122 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.3049, allocations: 0.9669 MB / 0.8132 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008851/0.3058, allocations: 0.7404 MB / 0.8139 GB, free: 24 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3058, allocations: 4 kB / 0.8139 GB, free: 20 kB / 0.6231 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002216/0.3081, allocations: 1.779 MB / 0.8156 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3081, allocations: 8 kB / 0.8156 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.3081, allocations: 12 kB / 0.8156 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.3084, allocations: 52.77 kB / 0.8157 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3095, allocations: 267.6 kB / 0.816 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.3133, allocations: 6.741 MB / 0.8225 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3144, allocations: 130.6 kB / 0.8227 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.3145, allocations: 44 kB / 0.8227 GB, free: 6.66 MB / 0.6387 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.0004365/0.3149, allocations: 305.6 kB / 0.823 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.3151, allocations: 114.5 kB / 0.8231 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3162, allocations: 0.8414 MB / 0.8239 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3162, allocations: 4 kB / 0.8239 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3162, allocations: 4 kB / 0.8239 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3163, allocations: 15.88 kB / 0.8239 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3173, allocations: 0.9112 MB / 0.8248 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3173, allocations: 0 / 0.8248 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.3178, allocations: 111.9 kB / 0.8249 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.3179, allocations: 32.83 kB / 0.825 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.318, allocations: 19.97 kB / 0.825 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008817/0.3189, allocations: 1.334 MB / 0.8263 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3189, allocations: 4.156 kB / 0.8263 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3204, allocations: 1.366 MB / 0.8276 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.3207, allocations: 267.4 kB / 0.8279 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3208, allocations: 12 kB / 0.8279 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.3213, allocations: 39.91 kB / 0.8279 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.3214, allocations: 23.97 kB / 0.828 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3214, allocations: 19.94 kB / 0.828 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009938/0.3224, allocations: 0.8076 MB / 0.8288 GB, free: 204 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3224, allocations: 0 / 0.8288 GB, free: 204 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001022/0.3235, allocations: 371.7 kB / 0.8291 GB, free: 15.83 MB / 0.6544 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.0003791/0.3239, allocations: 191.2 kB / 0.8293 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.3261, allocations: 1.507 MB / 0.8308 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3261, allocations: 192 / 0.8308 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.3267, allocations: 482.4 kB / 0.8312 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.3277, allocations: 214 kB / 0.8314 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.3313, allocations: 2.968 MB / 0.8343 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.332, allocations: 1.102 MB / 0.8354 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005095/0.3325, allocations: 203.1 kB / 0.8356 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.3327, allocations: 63.44 kB / 0.8357 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.3327, allocations: 0 / 0.8357 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of Templates: time 0.02377/0.3564, allocations: 13.2 MB / 0.8486 GB, free: 11.98 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) Environment - environmentSimulation: