Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") [: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/Complex 4.0.0+maint.om/package.mo): time 0.006162/0.006162, allocations: 178.3 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 130.6 MB / 138.5 MB, free: 2.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.79/1.79, allocations: 221.3 MB / 391.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 102.1 kB / 473.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.186e-06, allocations: 2.406 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/10.86, allocations: 4.633 GB / 5.26 GB, free: 72.76 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/10.86, allocations: 87.33 kB / 5.26 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.987/12.84, allocations: 0.4927 GB / 5.753 GB, free: 83.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001099/12.84, allocations: 22.27 kB / 5.753 GB, free: 83.69 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003048/12.85, allocations: 1.166 MB / 5.754 GB, free: 82.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/12.85, allocations: 12.03 kB / 5.754 GB, free: 82.47 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/12.85, allocations: 346.4 kB / 5.755 GB, free: 82.13 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/12.85, allocations: 0.9172 MB / 5.756 GB, free: 81.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/12.85, allocations: 20 kB / 5.756 GB, free: 81.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/12.85, allocations: 36 kB / 5.756 GB, free: 81.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/12.85, allocations: 0.5219 MB / 5.756 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/12.85, allocations: 0.5233 MB / 5.757 GB, free: 80.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/12.85, allocations: 3.938 kB / 5.757 GB, free: 80.08 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/12.85, allocations: 0 / 5.757 GB, free: 80.08 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/12.85, allocations: 29.3 kB / 5.757 GB, free: 80.05 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/12.86, allocations: 2.705 MB / 5.759 GB, free: 77.14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/12.86, allocations: 412.1 kB / 5.76 GB, free: 76.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/12.86, allocations: 237.9 kB / 5.76 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/12.86, allocations: 101.9 kB / 5.76 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/12.86, allocations: 38.56 kB / 5.76 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/12.86, allocations: 4 kB / 5.76 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.008298/12.87, allocations: 2.677 MB / 5.763 GB, free: 73.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/12.87, allocations: 60.06 kB / 5.763 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/12.87, allocations: 474.5 kB / 5.763 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/12.87, allocations: 29.7 kB / 5.763 GB, free: 73.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/12.87, allocations: 272.1 kB / 5.763 GB, free: 72.76 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/12.87, allocations: 216.8 kB / 5.764 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/12.87, allocations: 0 / 5.764 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001151/12.87, allocations: 382.8 kB / 5.764 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/12.87, allocations: 265.2 kB / 5.764 GB, free: 71.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/12.87, allocations: 384.1 kB / 5.765 GB, free: 71.49 MB / 0.6667 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 (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/12.88, allocations: 1.434 MB / 5.766 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/12.88, allocations: 0 / 5.766 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002415/12.88, allocations: 1.055 MB / 5.767 GB, free: 68.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/12.88, allocations: 0.6188 MB / 5.768 GB, free: 68.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/12.88, allocations: 0 / 5.768 GB, free: 68.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/12.88, allocations: 469 kB / 5.768 GB, free: 67.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/12.88, allocations: 83.89 kB / 5.768 GB, free: 67.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/12.89, allocations: 4.571 MB / 5.773 GB, free: 63.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/12.89, allocations: 55.73 kB / 5.773 GB, free: 63.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/12.89, allocations: 20 kB / 5.773 GB, free: 62.99 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/12.89, allocations: 0 / 5.773 GB, free: 62.99 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00218/12.89, allocations: 0.9693 MB / 5.774 GB, free: 62.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/12.89, allocations: 4 kB / 5.774 GB, free: 62.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/12.89, allocations: 469.2 kB / 5.774 GB, free: 61.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/12.89, allocations: 71.91 kB / 5.774 GB, free: 61.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/12.9, allocations: 3.975 MB / 5.778 GB, free: 57.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/12.9, allocations: 43.86 kB / 5.778 GB, free: 57.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/12.9, allocations: 20 kB / 5.778 GB, free: 57.34 MB / 0.6667 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 0 * Non-linear torn systems: 1 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003597/12.9, allocations: 134.1 kB / 5.778 GB, free: 57.21 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/12.9, allocations: 79.05 kB / 5.778 GB, free: 57.13 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/12.9, allocations: 1.057 MB / 5.779 GB, free: 56.06 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/12.9, allocations: 4 kB / 5.779 GB, free: 56.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/12.9, allocations: 0 / 5.779 GB, free: 56.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002284/12.9, allocations: 1.26 MB / 5.781 GB, free: 54.71 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/12.91, allocations: 2.247 MB / 5.783 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/12.91, allocations: 8.094 kB / 5.783 GB, free: 52.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/12.91, allocations: 71.91 kB / 5.783 GB, free: 52.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/12.91, allocations: 473.9 kB / 5.783 GB, free: 51.88 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/12.91, allocations: 23.89 kB / 5.783 GB, free: 51.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/12.92, allocations: 4.36 MB / 5.788 GB, free: 47.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/12.92, allocations: 3.906 kB / 5.788 GB, free: 47.36 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002754/12.92, allocations: 1.518 MB / 5.789 GB, free: 45.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/12.92, allocations: 240.1 kB / 5.789 GB, free: 45.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/12.92, allocations: 12 kB / 5.789 GB, free: 45.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/12.92, allocations: 43.83 kB / 5.789 GB, free: 45.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/12.92, allocations: 40.34 kB / 5.789 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/12.92, allocations: 23.98 kB / 5.789 GB, free: 45.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004748/12.92, allocations: 366.9 kB / 5.79 GB, free: 45.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002499/12.92, allocations: 0.5429 MB / 5.79 GB, free: 44.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001943/12.93, allocations: 1.368 MB / 5.792 GB, free: 43.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003058/12.93, allocations: 1.513 MB / 5.793 GB, free: 41.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/12.93, allocations: 4 kB / 5.793 GB, free: 41.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/12.93, allocations: 0.5718 MB / 5.794 GB, free: 41.19 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/12.93, allocations: 434.5 kB / 5.794 GB, free: 40.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/12.94, allocations: 1.536 MB / 5.796 GB, free: 39.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/12.94, allocations: 1.101 MB / 5.797 GB, free: 38.07 MB / 0.6667 GB Notification: Performance of SimCode: time 1.263e-06/12.94, allocations: 0 / 5.797 GB, free: 38.07 MB / 0.6667 GB Notification: Performance of Templates: time 0.0433/12.98, allocations: 31.25 MB / 5.827 GB, free: 7.074 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)