Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening") [: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.3+maint.om/package.mo): time 0.004697/0.004697, allocations: 183.1 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 92.34 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06341/0.06341, allocations: 10.86 MB / 319.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01686/0.01686, allocations: 4.165 MB / 374.2 MB, free: 79.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.114e-05/1.117e-05, allocations: 0 / 431.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 50.77 MB / 482.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.094/2.233, allocations: 0.6947 GB / 1.166 GB, free: 159.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/2.233, allocations: 79.91 kB / 1.166 GB, free: 159.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4962/2.729, allocations: 192.8 MB / 1.354 GB, free: 148 kB / 458.7 MB Notification: Performance of Transformations before backend: time 5.752e-05/2.73, allocations: 16 kB / 1.354 GB, free: 132 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.3032/3.033, allocations: 1.713 MB / 1.356 GB, free: 126.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/3.033, allocations: 9.25 kB / 1.356 GB, free: 126.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/3.034, allocations: 73.84 kB / 1.356 GB, free: 126.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007011/3.041, allocations: 1.145 MB / 1.357 GB, free: 126.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/3.041, allocations: 26.59 kB / 1.357 GB, free: 126.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000607/3.041, allocations: 39.64 kB / 1.357 GB, free: 126.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003999/3.046, allocations: 1.369 MB / 1.358 GB, free: 126.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/3.049, allocations: 1.069 MB / 1.359 GB, free: 126.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/3.049, allocations: 0 / 1.359 GB, free: 126.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/3.049, allocations: 7.156 kB / 1.359 GB, free: 126.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/3.049, allocations: 13.62 kB / 1.36 GB, free: 126.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009327/3.058, allocations: 4.219 MB / 1.364 GB, free: 124.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/3.061, allocations: 1.219 MB / 1.365 GB, free: 124 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/3.062, allocations: 0.7374 MB / 1.366 GB, free: 124 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005518/3.063, allocations: 212.9 kB / 1.366 GB, free: 123.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/3.063, allocations: 50.17 kB / 1.366 GB, free: 123.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 5.069e-06/3.063, allocations: 0 / 1.366 GB, free: 123.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=84): time 0.007308/3.07, allocations: 1.93 MB / 1.368 GB, free: 123.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/3.07, allocations: 197.3 kB / 1.368 GB, free: 123.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/3.071, allocations: 251.8 kB / 1.368 GB, free: 123.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/3.071, allocations: 25.7 kB / 1.368 GB, free: 123.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/3.071, allocations: 210.6 kB / 1.368 GB, free: 123.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/3.071, allocations: 290.1 kB / 1.369 GB, free: 123.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/3.071, allocations: 0 / 1.369 GB, free: 123.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/3.072, allocations: 359.5 kB / 1.369 GB, free: 122.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/3.073, allocations: 0.6022 MB / 1.37 GB, free: 122.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/3.074, allocations: 0.6992 MB / 1.37 GB, free: 122.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00513/3.079, allocations: 1.253 MB / 1.371 GB, free: 122.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/3.079, allocations: 3.5 kB / 1.371 GB, free: 122.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00843/3.088, allocations: 2.28 MB / 1.374 GB, free: 122.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/3.088, allocations: 7.875 kB / 1.374 GB, free: 122.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/3.088, allocations: 3.469 kB / 1.374 GB, free: 122.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/3.089, allocations: 332.8 kB / 1.374 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/3.091, allocations: 319.2 kB / 1.374 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/3.099, allocations: 6.334 MB / 1.38 GB, free: 117.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/3.101, allocations: 204.7 kB / 1.381 GB, free: 117.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004307/3.102, allocations: 49.44 kB / 1.381 GB, free: 117.2 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening1.Vel[5]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening1.Vel[4]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening1.Vel[3]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening1.Vel[2]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening1.Vel[1]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening.Vel[5]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening.Vel[4]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening.Vel[3]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening.Vel[2]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: horizontalOpening.Vel[1]:VARIABLE(unit = "m/s" ) type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (horizontalOpening.buoyancy,horizontalOpening1.buoyancy) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 85 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008754/3.103, allocations: 138.5 kB / 1.381 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00061/3.103, allocations: 47.88 kB / 1.381 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/3.115, allocations: 2.777 MB / 1.384 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/3.115, allocations: 14.75 kB / 1.384 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/3.115, allocations: 0 / 1.384 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/3.115, allocations: 7.75 kB / 1.384 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/3.129, allocations: 4.733 MB / 1.388 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/3.129, allocations: 11.03 kB / 1.388 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/3.132, allocations: 438.6 kB / 1.389 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.173e-05/3.132, allocations: 11.66 kB / 1.389 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/3.133, allocations: 38.66 kB / 1.389 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.342e-05/3.133, allocations: 17.59 kB / 1.389 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/3.133, allocations: 10.5 kB / 1.389 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01147/3.144, allocations: 3.829 MB / 1.393 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/3.145, allocations: 162.9 kB / 1.393 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/3.145, allocations: 19.84 kB / 1.393 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/3.148, allocations: 165.5 kB / 1.393 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/3.148, allocations: 91.88 kB / 1.393 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/3.148, allocations: 47.19 kB / 1.393 GB, free: 114.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003677/3.149, allocations: 198.8 kB / 1.393 GB, free: 114.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002611/3.151, allocations: 400.8 kB / 1.394 GB, free: 114.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 10 (horizontalOpening.Vel[1],horizontalOpening.Vel[2],horizontalOpening.Vel[3],horizontalOpening.Vel[4],horizontalOpening.Vel[5],horizontalOpening1.Vel[1],horizontalOpening1.Vel[2],horizontalOpening1.Vel[3],horizontalOpening1.Vel[4],horizontalOpening1.Vel[5]) * Number of discrete variables: 2 (horizontalOpening.buoyancy,horizontalOpening1.buoyancy) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 124 * 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.002976/3.154, allocations: 0.8669 MB / 1.394 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005369/3.16, allocations: 1.546 MB / 1.396 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/3.16, allocations: 0 / 1.396 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/3.162, allocations: 0.8409 MB / 1.397 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/3.164, allocations: 125 kB / 1.397 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/3.17, allocations: 2.109 MB / 1.399 GB, free: 113.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/3.172, allocations: 1.103 MB / 1.4 GB, free: 113.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.216e-06/3.172, allocations: 0 / 1.4 GB, free: 113.1 MB / 458.7 MB Notification: Performance of Templates: time 0.05427/3.227, allocations: 21.45 MB / 1.421 GB, free: 112.3 MB / 458.7 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe 2>&1)