Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 253.1 MB / 260.4 MB, free: 0.5859 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 190.4 kB / 319.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.5704 GB, free: 25.61 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0014/0.001399, allocations: 105.9 kB / 0.6746 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.436e-06, allocations: 0 / 0.7843 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5131, allocations: 106.2 MB / 0.888 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.518, allocations: 422.9 MB / 1.301 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.518, allocations: 94.64 kB / 1.301 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.099/5.617, allocations: 0.7471 GB / 2.048 GB, free: 145 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001671/5.619, allocations: 188.7 kB / 2.048 GB, free: 145 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02395/5.643, allocations: 5.531 MB / 2.054 GB, free: 143.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/5.643, allocations: 7.031 kB / 2.054 GB, free: 143.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007148/5.65, allocations: 0.8398 MB / 2.055 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08521/5.736, allocations: 22.9 MB / 2.077 GB, free: 141.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005138/5.736, allocations: 244.6 kB / 2.077 GB, free: 141.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/5.739, allocations: 309.4 kB / 2.077 GB, free: 141.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01862/5.757, allocations: 5.171 MB / 2.083 GB, free: 141.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/5.782, allocations: 6.296 MB / 2.089 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003703/5.782, allocations: 24.03 kB / 2.089 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/5.785, allocations: 12.94 kB / 2.089 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/5.785, allocations: 170.9 kB / 2.089 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06512/5.85, allocations: 28.95 MB / 2.117 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009418/5.859, allocations: 3.239 MB / 2.12 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/5.864, allocations: 1.685 MB / 2.122 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/5.865, allocations: 0.9754 MB / 2.123 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/5.865, allocations: 66.03 kB / 2.123 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=253): time 6.622e-06/5.865, allocations: 0 / 2.123 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=253): time 0.01167/5.877, allocations: 3.161 MB / 2.126 GB, free: 126 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/5.877, allocations: 81.72 kB / 2.126 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/5.892, allocations: 4.769 MB / 2.131 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009821/5.893, allocations: 29.02 kB / 2.131 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003621/5.897, allocations: 2.057 MB / 2.133 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003422/5.9, allocations: 0.8683 MB / 2.134 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/5.901, allocations: 0 / 2.134 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004866/5.901, allocations: 454.6 kB / 2.134 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/5.906, allocations: 1.45 MB / 2.136 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005886/5.912, allocations: 2.587 MB / 2.138 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007098/5.919, allocations: 2.196 MB / 2.14 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.062e-05/5.92, allocations: 9.75 kB / 2.14 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01453/5.934, allocations: 4.477 MB / 2.145 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003846/5.938, allocations: 16.51 MB / 2.161 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/5.938, allocations: 38.94 kB / 2.161 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/5.938, allocations: 59.78 kB / 2.161 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007326/5.946, allocations: 0.8723 MB / 2.162 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000815/5.947, allocations: 1.263 MB / 2.163 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00833/5.955, allocations: 436.9 kB / 2.163 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008917/5.956, allocations: 168.7 kB / 2.163 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/5.956, allocations: 3.594 kB / 2.163 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/5.967, allocations: 3.973 MB / 2.167 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/5.967, allocations: 38.88 kB / 2.167 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.482e-05/5.967, allocations: 58.38 kB / 2.167 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006521/5.974, allocations: 0.8576 MB / 2.168 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-05/5.974, allocations: 80.31 kB / 2.168 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007871/5.982, allocations: 374.9 kB / 2.169 GB, free: 103 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009432/5.983, allocations: 168.7 kB / 2.169 GB, free: 103 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001194/5.984, allocations: 212.3 kB / 2.169 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002015/5.986, allocations: 493.1 kB / 2.17 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/5.998, allocations: 3.66 MB / 2.173 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/5.998, allocations: 30.19 kB / 2.173 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/5.998, allocations: 2.844 kB / 2.173 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007091/6.005, allocations: 2.817 MB / 2.176 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03225/6.038, allocations: 8.705 MB / 2.184 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/6.038, allocations: 0 / 2.184 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005378/6.043, allocations: 0.5405 MB / 2.185 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.763e-05/6.043, allocations: 9.969 kB / 2.185 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003897/6.043, allocations: 49.66 kB / 2.185 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005722/6.044, allocations: 1.191 MB / 2.186 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/6.044, allocations: 0 / 2.186 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01394/6.058, allocations: 5.616 MB / 2.192 GB, free: 99.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00534/6.063, allocations: 1.229 MB / 2.193 GB, free: 99.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002198/6.066, allocations: 21.23 kB / 2.193 GB, free: 99.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007307/6.073, allocations: 210.8 kB / 2.193 GB, free: 99.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000721/6.074, allocations: 133.4 kB / 2.193 GB, free: 99.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005669/6.074, allocations: 126.2 kB / 2.193 GB, free: 99.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.009442/6.084, allocations: 3.686 MB / 2.197 GB, free: 99.32 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01668/6.101, allocations: 3.184 MB / 2.2 GB, free: 98.77 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002427/6.103, allocations: 0.6591 MB / 2.201 GB, free: 98.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01417/6.117, allocations: 5.716 MB / 2.206 GB, free: 98.52 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/6.117, allocations: 3.5 kB / 2.206 GB, free: 98.52 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003724/6.121, allocations: 1.544 MB / 2.208 GB, free: 98.51 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02732/6.148, allocations: 3.022 MB / 2.211 GB, free: 98.48 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/6.186, allocations: 11.55 MB / 2.222 GB, free: 96.53 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01296/6.199, allocations: 5.123 MB / 2.227 GB, free: 95.71 MB / 0.9011 GB Notification: Performance of SimCode: time 1.733e-06/6.199, allocations: 0 / 2.227 GB, free: 95.71 MB / 0.9011 GB Notification: Performance of Templates: time 0.3913/6.59, allocations: 124.6 MB / 2.349 GB, free: 23.05 MB / 0.9011 GB