Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") [: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 3.2.2+maint.om/package.mo): time 0.003936/0.003936, allocations: 185.7 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.376/1.376, allocations: 194.2 MB / 202.1 MB, free: 8.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001762/0.001763, allocations: 119.6 kB / 247.1 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2366/0.2366, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.253e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 54.88 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.5019, allocations: 79.18 MB / 0.5145 GB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5022, allocations: 56.61 kB / 0.5145 GB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.006311/0.5085, allocations: 1.98 MB / 0.5165 GB, free: 9.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.5086, allocations: 0 / 0.5165 GB, free: 9.836 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00026/0.5088, allocations: 354.3 kB / 0.5168 GB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5089, allocations: 8.906 kB / 0.5168 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.5089, allocations: 4.469 kB / 0.5168 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.509, allocations: 163.8 kB / 0.517 GB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.509, allocations: 5.781 kB / 0.517 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.509, allocations: 3.938 kB / 0.517 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.643e-05/0.5091, allocations: 6.531 kB / 0.517 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.353e-05/0.5091, allocations: 31.66 kB / 0.517 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5092, allocations: 0.6094 kB / 0.517 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5092, allocations: 0 / 0.517 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5092, allocations: 0 / 0.517 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.525e-05/0.5093, allocations: 129.4 kB / 0.5171 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.427e-05/0.5093, allocations: 23.48 kB / 0.5172 GB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.5093, allocations: 5.422 kB / 0.5172 GB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.5094, allocations: 2.656 kB / 0.5172 GB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5094, allocations: 60.86 kB / 0.5172 GB, free: 8.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5094, allocations: 1.812 kB / 0.5172 GB, free: 8.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.5096, allocations: 31.77 kB / 0.5173 GB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.5096, allocations: 80.06 kB / 0.5173 GB, free: 8.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.544e-05/0.5097, allocations: 92.41 kB / 0.5174 GB, free: 8.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.5097, allocations: 25.7 kB / 0.5174 GB, free: 8.691 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.5097, allocations: 80.66 kB / 0.5175 GB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.5097, allocations: 0 / 0.5175 GB, free: 8.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.5097, allocations: 3.938 kB / 0.5175 GB, free: 8.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.5098, allocations: 317.6 kB / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-06/0.5098, allocations: 0 / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.5098, allocations: 2.203 kB / 0.5178 GB, free: 8.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.5099, allocations: 6.312 kB / 0.5178 GB, free: 8.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5099, allocations: 0 / 0.5178 GB, free: 8.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.169e-05/0.5099, allocations: 38.78 kB / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.51, allocations: 5.359 kB / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.51, allocations: 0 / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.51, allocations: 0.875 kB / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-06/0.51, allocations: 0.6094 kB / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.51, allocations: 0.7188 kB / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.51, allocations: 0 / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.51, allocations: 1.438 kB / 0.5179 GB, free: 8.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.05e-05/0.5101, allocations: 141.2 kB / 0.518 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.5101, allocations: 0.5625 kB / 0.518 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.5101, allocations: 11.45 kB / 0.518 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5101, allocations: 1.375 kB / 0.518 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5102, allocations: 0 / 0.518 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5102, allocations: 0.5156 kB / 0.518 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.341e-05/0.5102, allocations: 125.4 kB / 0.5182 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5102, allocations: 3.906 kB / 0.5182 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5102, allocations: 1.375 kB / 0.5182 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5102, allocations: 0.6094 kB / 0.5182 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5103, allocations: 5.406 kB / 0.5182 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.5103, allocations: 0 / 0.5182 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5103, allocations: 0.75 kB / 0.5182 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.102e-05/0.5104, allocations: 63.12 kB / 0.5182 GB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.5104, allocations: 81.67 kB / 0.5183 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.5104, allocations: 2.062 kB / 0.5183 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.5104, allocations: 1.406 kB / 0.5183 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.5104, allocations: 8.672 kB / 0.5183 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5104, allocations: 1.406 kB / 0.5183 GB, free: 7.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.736e-05/0.5105, allocations: 77.91 kB / 0.5184 GB, free: 7.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.5107, allocations: 34.45 kB / 0.5184 GB, free: 7.676 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005045/0.5112, allocations: 255 kB / 0.5187 GB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.5113, allocations: 33.84 kB / 0.5187 GB, free: 7.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5113, allocations: 1.188 kB / 0.5187 GB, free: 7.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.5114, allocations: 31.12 kB / 0.5187 GB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.75e-05/0.5115, allocations: 1.844 kB / 0.5187 GB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001486/0.5116, allocations: 42.42 kB / 0.5188 GB, free: 7.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5118, allocations: 0.6807 MB / 0.5194 GB, free: 6.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5118, allocations: 0 / 0.5194 GB, free: 6.703 MB / 346.7 MB Notification: Performance of Templates: time 0.003653/0.5154, allocations: 0.945 MB / 0.5204 GB, free: 6.551 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe 2>&1)