Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.003627/0.003627, allocations: 183.1 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6929/0.6929, allocations: 130.6 MB / 138.5 MB, free: 2.164 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.66/1.66, allocations: 221.3 MB / 391.4 MB, free: 13 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.000883/0.000883, allocations: 109.2 kB / 473.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.486e-06, allocations: 1.531 kB / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1817, allocations: 81.57 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.04/4.221, allocations: 1.882 GB / 2.509 GB, free: 248.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/4.222, allocations: 86.14 kB / 2.509 GB, free: 248.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.056/6.278, allocations: 0.5714 GB / 3.081 GB, free: 127.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001709/6.278, allocations: 30.36 kB / 3.081 GB, free: 127.9 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005179/6.283, allocations: 1.245 MB / 3.082 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/6.283, allocations: 11.31 kB / 3.082 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/6.287, allocations: 344.5 kB / 3.082 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/6.29, allocations: 0.8044 MB / 3.083 GB, free: 127 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/6.291, allocations: 107.8 kB / 3.083 GB, free: 127 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/6.291, allocations: 63.27 kB / 3.083 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001865/6.293, allocations: 0.6925 MB / 3.084 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/6.295, allocations: 0.8884 MB / 3.085 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/6.295, allocations: 1.562 kB / 3.085 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/6.295, allocations: 5.375 kB / 3.085 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/6.295, allocations: 34.62 kB / 3.085 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/6.302, allocations: 3.904 MB / 3.089 GB, free: 125 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/6.302, allocations: 370.6 kB / 3.089 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/6.303, allocations: 205.7 kB / 3.089 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/6.303, allocations: 102.5 kB / 3.089 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/6.303, allocations: 43.72 kB / 3.089 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/6.303, allocations: 0 / 3.089 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.002973/6.306, allocations: 1.109 MB / 3.091 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/6.306, allocations: 55.38 kB / 3.091 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/6.307, allocations: 0.5656 MB / 3.091 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/6.307, allocations: 29.05 kB / 3.091 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/6.307, allocations: 412 kB / 3.092 GB, free: 124 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/6.308, allocations: 134.3 kB / 3.092 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/6.308, allocations: 0 / 3.092 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001719/6.308, allocations: 384.6 kB / 3.092 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/6.308, allocations: 190.2 kB / 3.092 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/6.309, allocations: 375 kB / 3.093 GB, free: 123.3 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/6.311, allocations: 0.7137 MB / 3.093 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/6.311, allocations: 3.281 kB / 3.093 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001419/6.312, allocations: 0.6356 MB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/6.312, allocations: 5.844 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/6.312, allocations: 6.344 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.235e-05/6.312, allocations: 7.344 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/6.313, allocations: 147.2 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-05/6.313, allocations: 13.28 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/6.314, allocations: 88.09 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/6.315, allocations: 28.03 kB / 3.094 GB, free: 123.2 MB / 0.6667 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002691/6.315, allocations: 124.5 kB / 3.094 GB, free: 123.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/6.315, allocations: 78.59 kB / 3.094 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/6.315, allocations: 75.97 kB / 3.094 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/6.315, allocations: 3.969 kB / 3.094 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/6.315, allocations: 3.969 kB / 3.094 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007473/6.316, allocations: 0.66 MB / 3.095 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/6.319, allocations: 1.439 MB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/6.319, allocations: 7.062 kB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/6.32, allocations: 88.8 kB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/6.32, allocations: 3.875 kB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/6.32, allocations: 15.33 kB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/6.32, allocations: 10.75 kB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/6.32, allocations: 7.547 kB / 3.097 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001315/6.321, allocations: 0.9941 MB / 3.098 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/6.322, allocations: 210.1 kB / 3.098 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/6.322, allocations: 14.58 kB / 3.098 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/6.323, allocations: 51.42 kB / 3.098 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/6.323, allocations: 29.92 kB / 3.098 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/6.323, allocations: 29.36 kB / 3.098 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000585/6.324, allocations: 437.9 kB / 3.098 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001631/6.325, allocations: 335.6 kB / 3.099 GB, free: 121.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002687/6.328, allocations: 1.502 MB / 3.1 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008169/6.329, allocations: 451.1 kB / 3.101 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/6.329, allocations: 2.344 kB / 3.101 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/6.329, allocations: 175.5 kB / 3.101 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/6.331, allocations: 389.1 kB / 3.101 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/6.334, allocations: 1.364 MB / 3.102 GB, free: 120.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/6.335, allocations: 1.193 MB / 3.104 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of SimCode: time 8.21e-07/6.335, allocations: 0 / 3.104 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.04541/6.381, allocations: 21.03 MB / 3.124 GB, free: 118.6 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)