Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") [: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.003138/0.003137, allocations: 188 kB / 7.459 MB, free: 2.238 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.54/1.54, allocations: 194.2 MB / 202.1 MB, free: 8.699 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.002057/0.002057, allocations: 119.3 kB / 247.1 MB, free: 6.336 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.2028/0.2028, allocations: 39.93 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.015e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 54.87 MB / 447.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/0.6072, allocations: 214.7 MB / 0.6468 GB, free: 3.012 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.6076, allocations: 86.19 kB / 0.6469 GB, free: 2.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.086/2.694, allocations: 0.6436 GB / 1.29 GB, free: 69.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001493/2.694, allocations: 28.89 kB / 1.29 GB, free: 69.39 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007191/2.701, allocations: 1.943 MB / 1.292 GB, free: 68.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.701, allocations: 15.06 kB / 1.292 GB, free: 68.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/2.705, allocations: 421.4 kB / 1.293 GB, free: 68.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/2.708, allocations: 0.9698 MB / 1.294 GB, free: 68.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/2.708, allocations: 30 kB / 1.294 GB, free: 68.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/2.708, allocations: 45.38 kB / 1.294 GB, free: 68.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001803/2.71, allocations: 0.7662 MB / 1.295 GB, free: 68.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/2.712, allocations: 1.023 MB / 1.296 GB, free: 67.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/2.712, allocations: 7.875 kB / 1.296 GB, free: 67.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/2.712, allocations: 3.781 kB / 1.296 GB, free: 67.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/2.712, allocations: 18.75 kB / 1.296 GB, free: 67.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008169/2.72, allocations: 6.434 MB / 1.302 GB, free: 63.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/2.721, allocations: 461.2 kB / 1.302 GB, free: 63.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/2.721, allocations: 227.3 kB / 1.303 GB, free: 63.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/2.722, allocations: 0.7566 MB / 1.303 GB, free: 62.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/2.722, allocations: 40.81 kB / 1.303 GB, free: 62.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/2.722, allocations: 0 / 1.303 GB, free: 62.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.007781/2.729, allocations: 1.29 MB / 1.305 GB, free: 62.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/2.73, allocations: 187.1 kB / 1.305 GB, free: 62.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/2.731, allocations: 0.7048 MB / 1.305 GB, free: 62.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/2.731, allocations: 25.7 kB / 1.305 GB, free: 62.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/2.731, allocations: 467.7 kB / 1.306 GB, free: 61.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/2.731, allocations: 168.8 kB / 1.306 GB, free: 61.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/2.732, allocations: 1.469 kB / 1.306 GB, free: 61.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/2.732, allocations: 345 kB / 1.306 GB, free: 61.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/2.732, allocations: 280 kB / 1.307 GB, free: 61.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/2.733, allocations: 0.6205 MB / 1.307 GB, free: 60.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/2.743, allocations: 1.672 MB / 1.309 GB, free: 60.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/2.743, allocations: 7.656 kB / 1.309 GB, free: 60.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0124/2.755, allocations: 2.422 MB / 1.311 GB, free: 60.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001002/2.756, allocations: 4.179 MB / 1.315 GB, free: 56.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/2.756, allocations: 15.66 kB / 1.315 GB, free: 56.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/2.759, allocations: 466.3 kB / 1.316 GB, free: 56.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/2.76, allocations: 334.8 kB / 1.316 GB, free: 56.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/2.763, allocations: 1.018 MB / 1.317 GB, free: 55.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/2.765, allocations: 148 kB / 1.317 GB, free: 55.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/2.765, allocations: 177.3 kB / 1.317 GB, free: 55.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/2.765, allocations: 9.891 kB / 1.317 GB, free: 55.79 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008871/2.774, allocations: 1.977 MB / 1.319 GB, free: 55.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/2.774, allocations: 14.12 kB / 1.319 GB, free: 55.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/2.774, allocations: 83.7 kB / 1.319 GB, free: 55.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/2.776, allocations: 337.3 kB / 1.32 GB, free: 55.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/2.777, allocations: 1.579 MB / 1.321 GB, free: 54.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/2.778, allocations: 121.2 kB / 1.321 GB, free: 54.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/2.779, allocations: 137.7 kB / 1.322 GB, free: 54.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004504/2.779, allocations: 135.6 kB / 1.322 GB, free: 54.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/2.78, allocations: 104.2 kB / 1.322 GB, free: 54.06 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009583/2.789, allocations: 3.382 MB / 1.325 GB, free: 53.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/2.789, allocations: 20 kB / 1.325 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/2.789, allocations: 0 / 1.325 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/2.789, allocations: 3.469 kB / 1.325 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/2.795, allocations: 2.214 MB / 1.327 GB, free: 51.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/2.795, allocations: 15.88 kB / 1.327 GB, free: 51.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/2.796, allocations: 141.6 kB / 1.327 GB, free: 51.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/2.797, allocations: 314.6 kB / 1.328 GB, free: 51.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/2.797, allocations: 19.28 kB / 1.328 GB, free: 51.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/2.798, allocations: 0.9717 MB / 1.329 GB, free: 50.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.799, allocations: 0 / 1.329 GB, free: 50.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003388/2.802, allocations: 1.498 MB / 1.33 GB, free: 49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/2.803, allocations: 341.5 kB / 1.331 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/2.803, allocations: 7.891 kB / 1.331 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/2.804, allocations: 63.28 kB / 1.331 GB, free: 48.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/2.804, allocations: 59.2 kB / 1.331 GB, free: 48.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/2.804, allocations: 47.56 kB / 1.331 GB, free: 48.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007765/2.805, allocations: 0.5227 MB / 1.331 GB, free: 48.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0048/2.81, allocations: 1.171 MB / 1.332 GB, free: 46.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 55 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004411/2.814, allocations: 1.063 MB / 1.333 GB, free: 46.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003169/2.817, allocations: 1.424 MB / 1.335 GB, free: 44.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/2.817, allocations: 384 / 1.335 GB, free: 44.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/2.818, allocations: 430.7 kB / 1.335 GB, free: 44.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/2.821, allocations: 391.3 kB / 1.336 GB, free: 44.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/2.825, allocations: 1.803 MB / 1.337 GB, free: 42.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/2.827, allocations: 1.385 MB / 1.339 GB, free: 41.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/2.827, allocations: 0 / 1.339 GB, free: 41.12 MB / 474.7 MB Notification: Performance of Templates: time 0.05443/2.881, allocations: 36.1 MB / 1.374 GB, free: 5.543 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1)