Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8393/0.8393, allocations: 141.8 MB / 149.1 MB, free: 432 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 183.1 kB / 182 MB, free: 12.66 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 436 MB, free: 5.438 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009421, allocations: 87.92 kB / 0.507 GB, free: 19.21 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.001869, allocations: 279.4 kB / 0.5885 GB, free: 6.637 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.494e-05/1.504e-05, allocations: 3 kB / 0.6759 GB, free: 139.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1849, allocations: 82.78 MB / 0.7567 GB, free: 88.42 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.809/4.994, allocations: 2.125 GB / 2.881 GB, free: 171.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/4.995, allocations: 83.95 kB / 2.882 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.05/7.045, allocations: 489.4 MB / 3.359 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001605/7.045, allocations: 18.22 kB / 3.359 GB, free: 149.1 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00414/7.049, allocations: 1.078 MB / 3.36 GB, free: 148.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/7.049, allocations: 8.062 kB / 3.361 GB, free: 148.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/7.053, allocations: 318.1 kB / 3.361 GB, free: 148.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/7.056, allocations: 0.7695 MB / 3.362 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/7.056, allocations: 19.19 kB / 3.362 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/7.056, allocations: 37.72 kB / 3.362 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001535/7.058, allocations: 0.4993 MB / 3.362 GB, free: 148.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/7.059, allocations: 0.5126 MB / 3.363 GB, free: 148.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/7.059, allocations: 0 / 3.363 GB, free: 148.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/7.059, allocations: 3.625 kB / 3.363 GB, free: 148.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/7.059, allocations: 22.56 kB / 3.363 GB, free: 148.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005394/7.065, allocations: 2.678 MB / 3.365 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/7.065, allocations: 425.6 kB / 3.366 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/7.066, allocations: 251.2 kB / 3.366 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/7.066, allocations: 99.67 kB / 3.366 GB, free: 146.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/7.066, allocations: 38.66 kB / 3.366 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=46): time 2.705e-06/7.066, allocations: 3.938 kB / 3.366 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49): time 0.004031/7.07, allocations: 1.305 MB / 3.367 GB, free: 146.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/7.07, allocations: 58.78 kB / 3.367 GB, free: 146.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/7.071, allocations: 417.3 kB / 3.368 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/7.071, allocations: 32.42 kB / 3.368 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/7.071, allocations: 266.4 kB / 3.368 GB, free: 146 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/7.072, allocations: 168.7 kB / 3.368 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/7.072, allocations: 0 / 3.368 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001391/7.072, allocations: 372.6 kB / 3.369 GB, free: 145.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/7.072, allocations: 178.6 kB / 3.369 GB, free: 145.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/7.072, allocations: 282.5 kB / 3.369 GB, free: 145.5 MB / 0.6982 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/7.075, allocations: 0.7899 MB / 3.37 GB, free: 145.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/7.075, allocations: 0 / 3.37 GB, free: 145.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00101/7.076, allocations: 0.5553 MB / 3.37 GB, free: 145.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/7.076, allocations: 0.7044 MB / 3.371 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/7.076, allocations: 0 / 3.371 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/7.076, allocations: 36.19 kB / 3.371 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/7.077, allocations: 105.9 kB / 3.371 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/7.078, allocations: 2.033 MB / 3.373 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/7.079, allocations: 45.34 kB / 3.373 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/7.08, allocations: 19.12 kB / 3.373 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/7.08, allocations: 3.656 kB / 3.373 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000781/7.08, allocations: 474.1 kB / 3.374 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/7.08, allocations: 3 kB / 3.374 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/7.08, allocations: 40.73 kB / 3.374 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/7.081, allocations: 96.47 kB / 3.374 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/7.082, allocations: 1.43 MB / 3.375 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/7.083, allocations: 46.59 kB / 3.375 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/7.083, allocations: 21.94 kB / 3.375 GB, free: 141.4 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/7.083, allocations: 115 kB / 3.375 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/7.083, allocations: 74.44 kB / 3.375 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/7.084, allocations: 0.529 MB / 3.376 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/7.084, allocations: 3.969 kB / 3.376 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/7.085, allocations: 3.938 kB / 3.376 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008105/7.085, allocations: 0.7601 MB / 3.377 GB, free: 140.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/7.088, allocations: 1.448 MB / 3.378 GB, free: 140.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.088, allocations: 3.75 kB / 3.378 GB, free: 140.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/7.089, allocations: 128.6 kB / 3.378 GB, free: 140.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/7.089, allocations: 29.98 kB / 3.378 GB, free: 140.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/7.089, allocations: 7.469 kB / 3.378 GB, free: 140.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/7.09, allocations: 1.893 MB / 3.38 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/7.09, allocations: 3.812 kB / 3.38 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001324/7.092, allocations: 0.9607 MB / 3.381 GB, free: 138.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/7.092, allocations: 195 kB / 3.381 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/7.092, allocations: 3.562 kB / 3.381 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/7.093, allocations: 41.23 kB / 3.381 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/7.093, allocations: 22.98 kB / 3.381 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/7.093, allocations: 24.36 kB / 3.381 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005334/7.094, allocations: 322.8 kB / 3.382 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002181/7.096, allocations: 448.2 kB / 3.382 GB, free: 138 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/7.099, allocations: 1.396 MB / 3.383 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001993/7.101, allocations: 0.9538 MB / 3.384 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/7.101, allocations: 3.938 kB / 3.384 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/7.101, allocations: 354.1 kB / 3.385 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/7.104, allocations: 416.3 kB / 3.385 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/7.107, allocations: 1.287 MB / 3.386 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/7.108, allocations: 1.079 MB / 3.387 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of SimCode: time 9.92e-07/7.108, allocations: 0 / 3.387 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.05188/7.16, allocations: 23.42 MB / 3.41 GB, free: 135.6 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1)