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.001042/0.001041, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007146/0.007146, allocations: 171 kB / 16.26 MB, free: 6.613 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.418/1.418, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.699/1.699, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005227/0.0005228, allocations: 15.12 kB / 0.6743 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004287/0.2272, allocations: 3.966 MB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005986/0.2333, allocations: 2.979 MB / 0.7946 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.2345, allocations: 15.88 kB / 0.7947 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2361, allocations: 326.3 kB / 0.795 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.2381, allocations: 0.599 MB / 0.7956 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.2397, allocations: 0.5531 MB / 0.7961 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.2423, allocations: 2.19 MB / 0.7982 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.2426, allocations: 149.9 kB / 0.7984 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.2434, allocations: 0.5096 MB / 0.7989 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.2442, allocations: 0.6772 MB / 0.7995 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.2443, allocations: 40 kB / 0.7996 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.245, allocations: 387.4 kB / 0.7999 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.2454, allocations: 422.6 kB / 0.8003 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.2459, allocations: 0.5805 MB / 0.8009 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2472, allocations: 1.409 MB / 0.8023 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2472, allocations: 4 kB / 0.8023 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2472, allocations: 0 / 0.8023 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.2472, allocations: 4 kB / 0.8023 GB, free: 12.74 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.002508/0.2497, allocations: 1.46 MB / 0.8037 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2498, allocations: 8.031 kB / 0.8037 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.25, allocations: 131.3 kB / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.2511, allocations: 0.8115 MB / 0.8046 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.2512, allocations: 41.38 kB / 0.8047 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.2513, allocations: 68.31 kB / 0.8048 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.2521, allocations: 0.6217 MB / 0.8054 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2521, allocations: 4 kB / 0.8054 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.2522, allocations: 19.94 kB / 0.8054 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2522, allocations: 11.98 kB / 0.8054 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.2529, allocations: 0.5621 MB / 0.8059 GB, free: 8.879 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.004137/0.2571, allocations: 3.306 MB / 0.8092 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.2584, allocations: 0.8401 MB / 0.81 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.2589, allocations: 372.1 kB / 0.8103 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.79e-05/0.2589, allocations: 28.3 kB / 0.8104 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.259, allocations: 38.94 kB / 0.8104 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.259, allocations: 0 / 0.8104 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001676/0.2607, allocations: 1.186 MB / 0.8116 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2607, allocations: 55.41 kB / 0.8116 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.2622, allocations: 1.227 MB / 0.8128 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.2623, allocations: 37.7 kB / 0.8129 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.2626, allocations: 468.7 kB / 0.8133 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.2628, allocations: 173.5 kB / 0.8135 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2629, allocations: 121.6 kB / 0.8136 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2631, allocations: 357.9 kB / 0.8139 GB, free: 368 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007687/0.2638, allocations: 0.6426 MB / 0.8146 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009441/0.2648, allocations: 0.9786 MB / 0.8155 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.2665, allocations: 1.594 MB / 0.8171 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2665, allocations: 4 kB / 0.8171 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002309/0.2688, allocations: 1.787 MB / 0.8188 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2688, allocations: 10.66 kB / 0.8188 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.2689, allocations: 12 kB / 0.8188 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.2691, allocations: 48.83 kB / 0.8189 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2702, allocations: 263.6 kB / 0.8191 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.2738, allocations: 6.733 MB / 0.8257 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.275, allocations: 134.6 kB / 0.8258 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.275, allocations: 44 kB / 0.8259 GB, free: 3.496 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 (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.0004148/0.2755, allocations: 310.1 kB / 0.8262 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.2756, allocations: 106.6 kB / 0.8263 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2769, allocations: 0.8579 MB / 0.8271 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2769, allocations: 7.938 kB / 0.8271 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2769, allocations: 0 / 0.8271 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2769, allocations: 8 kB / 0.8271 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.2781, allocations: 0.9035 MB / 0.828 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.2781, allocations: 3.984 kB / 0.828 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.2787, allocations: 111.9 kB / 0.8281 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.2789, allocations: 36.77 kB / 0.8282 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.2789, allocations: 12 kB / 0.8282 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.28, allocations: 1.342 MB / 0.8295 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.28, allocations: 0 / 0.8295 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.2818, allocations: 1.374 MB / 0.8308 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.2822, allocations: 271.4 kB / 0.8311 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.2823, allocations: 11.98 kB / 0.8311 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.2829, allocations: 35.97 kB / 0.8311 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.283, allocations: 31.95 kB / 0.8312 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.2831, allocations: 8 kB / 0.8312 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001087/0.2841, allocations: 0.8194 MB / 0.832 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2842, allocations: 0 / 0.832 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001009/0.2852, allocations: 371.6 kB / 0.8323 GB, free: 12.65 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 (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.0005096/0.2857, allocations: 277.4 kB / 0.8326 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.2881, allocations: 1.515 MB / 0.8341 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2881, allocations: 0 / 0.8341 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.2887, allocations: 474.4 kB / 0.8345 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.2899, allocations: 216.9 kB / 0.8347 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.2939, allocations: 3.059 MB / 0.8377 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.2946, allocations: 1.106 MB / 0.8388 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005415/0.2951, allocations: 207.1 kB / 0.839 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.2953, allocations: 63.44 kB / 0.839 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.2953, allocations: 0 / 0.839 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of Templates: time 0.0243/0.3196, allocations: 13.64 MB / 0.8524 GB, free: 8.172 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: