Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.773/0.773, allocations: 132.4 MB / 139.7 MB, free: 15.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001273/0.001274, allocations: 169.3 kB / 171.6 MB, free: 1.984 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.614/1.614, allocations: 170.5 MB / 373.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002062/0.002062, allocations: 121.4 kB / 444.5 MB, free: 9.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4386/0.4386, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.5876, allocations: 110.6 MB / 0.774 GB, free: 9.656 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5878, allocations: 75.28 kB / 0.774 GB, free: 9.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.08292/0.6708, allocations: 26.21 MB / 0.7996 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000103/0.6709, allocations: 16 kB / 0.7997 GB, free: 15.33 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.003241/0.6742, allocations: 1.153 MB / 0.8008 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.6742, allocations: 10.38 kB / 0.8008 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/0.6749, allocations: 118.6 kB / 0.8009 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.6774, allocations: 0.8913 MB / 0.8018 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.6775, allocations: 46.7 kB / 0.8018 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.6778, allocations: 55.83 kB / 0.8019 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001177/0.6789, allocations: 0.6305 MB / 0.8025 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.68, allocations: 0.551 MB / 0.803 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.68, allocations: 0 / 0.803 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.68, allocations: 0 / 0.803 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.6801, allocations: 12 kB / 0.803 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.6844, allocations: 2.36 MB / 0.8053 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.6859, allocations: 0.827 MB / 0.8061 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.6865, allocations: 411.6 kB / 0.8065 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6866, allocations: 24.42 kB / 0.8066 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.6867, allocations: 38.91 kB / 0.8066 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=54): time 4.388e-06/0.6867, allocations: 0 / 0.8066 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54): time 0.002095/0.6888, allocations: 0.9812 MB / 0.8076 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.6889, allocations: 55.84 kB / 0.8076 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.6902, allocations: 0.7502 MB / 0.8083 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.6903, allocations: 25.7 kB / 0.8084 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.6905, allocations: 261.2 kB / 0.8086 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.6909, allocations: 189.2 kB / 0.8088 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.691, allocations: 0 / 0.8088 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6912, allocations: 357.9 kB / 0.8091 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.6919, allocations: 0.5294 MB / 0.8097 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.6929, allocations: 0.7935 MB / 0.8104 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.6944, allocations: 0.7442 MB / 0.8112 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.6944, allocations: 7.906 kB / 0.8112 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003235/0.6977, allocations: 1.725 MB / 0.8129 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6977, allocations: 4 kB / 0.8129 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.6978, allocations: 8 kB / 0.8129 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.6983, allocations: 139.3 kB / 0.813 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.7, allocations: 335.6 kB / 0.8133 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008327/0.7083, allocations: 10.95 MB / 0.824 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.7101, allocations: 110.7 kB / 0.8241 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.7103, allocations: 63.98 kB / 0.8242 GB, free: 5.074 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 81 * 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: 4 * 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: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.7106, allocations: 128.8 kB / 0.8243 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.711, allocations: 98.69 kB / 0.8244 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.7133, allocations: 1.155 MB / 0.8255 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7133, allocations: 4 kB / 0.8255 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7133, allocations: 4 kB / 0.8255 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.7133, allocations: 3.984 kB / 0.8255 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.7149, allocations: 0.9819 MB / 0.8265 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7149, allocations: 0.5625 kB / 0.8265 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.7155, allocations: 119.9 kB / 0.8266 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.7159, allocations: 131.5 kB / 0.8267 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.716, allocations: 18.36 kB / 0.8267 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.7202, allocations: 5.265 MB / 0.8319 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.7203, allocations: 0 / 0.8319 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002842/0.7231, allocations: 1.643 MB / 0.8335 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009452/0.7241, allocations: 354.7 kB / 0.8338 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.7245, allocations: 7.984 kB / 0.8338 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.7256, allocations: 47.11 kB / 0.8339 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7258, allocations: 32.39 kB / 0.8339 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.7259, allocations: 43.97 kB / 0.834 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0009502/0.7268, allocations: 0.5401 MB / 0.8345 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001995/0.7288, allocations: 0.4917 MB / 0.835 GB, free: 9.434 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007833/0.7296, allocations: 284.1 kB / 0.8352 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0033/0.7329, allocations: 1.839 MB / 0.837 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7329, allocations: 2.312 kB / 0.837 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.734, allocations: 0.8053 MB / 0.8378 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.7354, allocations: 200 kB / 0.838 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.7397, allocations: 2.078 MB / 0.84 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.7409, allocations: 1.131 MB / 0.8411 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of SimCode: time 2.815e-06/0.7409, allocations: 0 / 0.8411 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of Templates: time 0.02772/0.7686, allocations: 14.3 MB / 0.8551 GB, free: 4.82 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)