Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.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.Valves.test_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial") [: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.004776/0.004776, allocations: 183.6 kB / 7.457 MB, free: 2.5 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.83 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.0009747/0.0009747, allocations: 91.28 kB / 261.1 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0651/0.0651, allocations: 10.88 MB / 319.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01805/0.01805, allocations: 4.163 MB / 374.2 MB, free: 79.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.762e-06, allocations: 224 / 431.7 MB, free: 21.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 50.77 MB / 482.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.4208, allocations: 78.05 MB / 0.5474 GB, free: 9.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.4212, allocations: 68.78 kB / 0.5474 GB, free: 9.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002303/0.4235, allocations: 464.5 kB / 0.5479 GB, free: 9.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4236, allocations: 0 / 0.5479 GB, free: 9.121 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005311/0.4241, allocations: 334.3 kB / 0.5482 GB, free: 8.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.4242, allocations: 12.91 kB / 0.5482 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.4243, allocations: 7.281 kB / 0.5482 GB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4245, allocations: 164.2 kB / 0.5484 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4245, allocations: 3.906 kB / 0.5484 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.4246, allocations: 0 / 0.5484 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.287e-05/0.4247, allocations: 15.94 kB / 0.5484 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.4248, allocations: 33.69 kB / 0.5484 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4248, allocations: 0 / 0.5484 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4248, allocations: 0 / 0.5484 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4248, allocations: 1.359 kB / 0.5484 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.4253, allocations: 253.1 kB / 0.5487 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.4254, allocations: 26.61 kB / 0.5487 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.4254, allocations: 12.86 kB / 0.5487 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.4255, allocations: 3.781 kB / 0.5487 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/0.4256, allocations: 34.56 kB / 0.5487 GB, free: 8.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4256, allocations: 0 / 0.5487 GB, free: 8.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002084/0.4258, allocations: 38.78 kB / 0.5488 GB, free: 8.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4258, allocations: 54.31 kB / 0.5488 GB, free: 8.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.4259, allocations: 96.98 kB / 0.5489 GB, free: 7.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4259, allocations: 25.7 kB / 0.5489 GB, free: 7.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.426, allocations: 86.39 kB / 0.549 GB, free: 7.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.426, allocations: 4 kB / 0.549 GB, free: 7.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.426, allocations: 0 / 0.549 GB, free: 7.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4261, allocations: 321.7 kB / 0.5493 GB, free: 7.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.4262, allocations: 4 kB / 0.5493 GB, free: 7.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.4262, allocations: 0.6562 kB / 0.5493 GB, free: 7.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.4262, allocations: 13.11 kB / 0.5493 GB, free: 7.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4263, allocations: 3.938 kB / 0.5493 GB, free: 7.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.19e-05/0.4263, allocations: 40.58 kB / 0.5494 GB, free: 7.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4264, allocations: 7.828 kB / 0.5494 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4264, allocations: 0 / 0.5494 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4264, allocations: 0 / 0.5494 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4265, allocations: 15.98 kB / 0.5494 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4265, allocations: 0.8438 kB / 0.5494 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.4266, allocations: 17.64 kB / 0.5494 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.4266, allocations: 0 / 0.5494 GB, free: 7.367 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.988e-05/0.4267, allocations: 107 kB / 0.5495 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4267, allocations: 4 kB / 0.5495 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.4269, allocations: 62.44 kB / 0.5496 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4269, allocations: 3.906 kB / 0.5496 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4269, allocations: 4 kB / 0.5496 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4269, allocations: 0 / 0.5496 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4271, allocations: 130.2 kB / 0.5497 GB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4271, allocations: 3.984 kB / 0.5497 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.4271, allocations: 8 kB / 0.5497 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4272, allocations: 0 / 0.5497 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4272, allocations: 4.031 kB / 0.5497 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4272, allocations: 0 / 0.5497 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.4272, allocations: 9.109 kB / 0.5497 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001677/0.4274, allocations: 135.5 kB / 0.5499 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4274, allocations: 84.73 kB / 0.55 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.4275, allocations: 7.891 kB / 0.55 GB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4276, allocations: 8.031 kB / 0.55 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.4276, allocations: 7.984 kB / 0.55 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.4277, allocations: 0 / 0.55 GB, free: 6.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.573e-05/0.4277, allocations: 80.08 kB / 0.5501 GB, free: 6.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.4279, allocations: 11.94 kB / 0.5501 GB, free: 6.637 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001757/0.4281, allocations: 99.25 kB / 0.5502 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.4282, allocations: 16 kB / 0.5502 GB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4282, allocations: 0 / 0.5502 GB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.4283, allocations: 11.47 kB / 0.5502 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.4285, allocations: 7.938 kB / 0.5502 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.4288, allocations: 65.97 kB / 0.5503 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.4292, allocations: 0.6929 MB / 0.5509 GB, free: 5.699 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4292, allocations: 4.125 kB / 0.5509 GB, free: 5.695 MB / 346.7 MB Notification: Performance of Templates: time 0.002518/0.4317, allocations: 0.4988 MB / 0.5514 GB, free: 5.23 MB / 346.7 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1)