Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001797/0.001797, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5942/0.5942, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 221.3 MB / 395 MB, free: 10.17 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.0008367/0.0008367, allocations: 93.47 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.253e-06, allocations: 2.75 kB / 0.5528 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.677/6.788, allocations: 4.633 GB / 5.266 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/6.789, allocations: 89.22 kB / 5.266 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352/8.141, allocations: 0.4927 GB / 5.759 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000109/8.141, allocations: 25.95 kB / 5.759 GB, free: 130.8 MB / 0.6823 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.002302/8.143, allocations: 1.171 MB / 5.76 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/8.143, allocations: 11.69 kB / 5.76 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/8.145, allocations: 341.3 kB / 5.761 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/8.147, allocations: 0.9162 MB / 5.761 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/8.147, allocations: 18.88 kB / 5.761 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/8.147, allocations: 40.62 kB / 5.761 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007319/8.147, allocations: 0.5298 MB / 5.762 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/8.148, allocations: 0.5231 MB / 5.762 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/8.148, allocations: 3.906 kB / 5.762 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/8.148, allocations: 0 / 5.762 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/8.148, allocations: 24.38 kB / 5.763 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/8.151, allocations: 2.694 MB / 5.765 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/8.151, allocations: 427.6 kB / 5.766 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/8.152, allocations: 232.9 kB / 5.766 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/8.152, allocations: 100.1 kB / 5.766 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/8.152, allocations: 39.41 kB / 5.766 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 1.463e-06/8.152, allocations: 0 / 5.766 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.006968/8.159, allocations: 2.679 MB / 5.769 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.681e-05/8.159, allocations: 57.84 kB / 5.769 GB, free: 128 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/8.159, allocations: 476.8 kB / 5.769 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/8.159, allocations: 25.7 kB / 5.769 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/8.159, allocations: 270.9 kB / 5.769 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/8.159, allocations: 219.1 kB / 5.77 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/8.16, allocations: 2.531 kB / 5.77 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/8.16, allocations: 377.4 kB / 5.77 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/8.16, allocations: 272.5 kB / 5.77 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/8.16, allocations: 374.9 kB / 5.771 GB, free: 127.2 MB / 0.6823 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.005023/8.165, allocations: 1.432 MB / 5.772 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/8.165, allocations: 6.125 kB / 5.772 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002137/8.167, allocations: 1.058 MB / 5.773 GB, free: 127 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/8.168, allocations: 0.6132 MB / 5.774 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/8.168, allocations: 7.75 kB / 5.774 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/8.169, allocations: 461.6 kB / 5.774 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/8.17, allocations: 92.89 kB / 5.774 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/8.175, allocations: 4.57 MB / 5.779 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/8.176, allocations: 51.11 kB / 5.779 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/8.176, allocations: 17.62 kB / 5.779 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/8.176, allocations: 3.469 kB / 5.779 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/8.178, allocations: 0.9734 MB / 5.78 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/8.178, allocations: 3.594 kB / 5.78 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/8.179, allocations: 455.8 kB / 5.78 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/8.18, allocations: 78.92 kB / 5.78 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/8.185, allocations: 3.968 MB / 5.784 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/8.185, allocations: 51.03 kB / 5.784 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/8.185, allocations: 18.06 kB / 5.784 GB, free: 123 MB / 0.6823 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.0001888/8.186, allocations: 134.1 kB / 5.784 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/8.186, allocations: 74.12 kB / 5.784 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/8.188, allocations: 1.062 MB / 5.785 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/8.188, allocations: 7.156 kB / 5.785 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/8.188, allocations: 1.781 kB / 5.785 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001999/8.19, allocations: 1.252 MB / 5.786 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/8.193, allocations: 2.258 MB / 5.789 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/8.193, allocations: 3.938 kB / 5.789 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/8.194, allocations: 72.08 kB / 5.789 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/8.196, allocations: 482.7 kB / 5.789 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/8.196, allocations: 21.59 kB / 5.789 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/8.201, allocations: 4.356 MB / 5.793 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/8.201, allocations: 0 / 5.793 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002411/8.203, allocations: 1.502 MB / 5.795 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/8.203, allocations: 239.1 kB / 5.795 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/8.204, allocations: 11.55 kB / 5.795 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/8.204, allocations: 44.36 kB / 5.795 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/8.204, allocations: 41.17 kB / 5.795 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/8.204, allocations: 26.64 kB / 5.795 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003359/8.205, allocations: 367.9 kB / 5.796 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001775/8.206, allocations: 0.5425 MB / 5.796 GB, free: 119.6 MB / 0.6823 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.001285/8.208, allocations: 1.389 MB / 5.798 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002526/8.21, allocations: 1.516 MB / 5.799 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/8.21, allocations: 0 / 5.799 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009846/8.211, allocations: 0.5713 MB / 5.8 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/8.213, allocations: 417.4 kB / 5.8 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/8.215, allocations: 1.536 MB / 5.801 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/8.216, allocations: 1.106 MB / 5.803 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/8.216, allocations: 3.562 kB / 5.803 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.035/8.251, allocations: 31.24 MB / 5.833 GB, free: 117.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)