Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9504/0.9504, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.06772/0.06772, allocations: 8.702 MB / 269 MB, free: 4.613 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.709e-05, allocations: 2.312 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.00221/0.002227, allocations: 2.474 MB / 343.3 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.004163, allocations: 2.301 MB / 345.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004273, allocations: 0 / 345.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.004582, allocations: 83.41 kB / 345.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.004907, allocations: 174.9 kB / 345.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.005562, allocations: 442.1 kB / 346.3 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.005793, allocations: 274.6 kB / 346.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.005896, allocations: 32.56 kB / 346.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.006098, allocations: 147.5 kB / 346.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.006209, allocations: 87.72 kB / 346.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.006229, allocations: 12 kB / 346.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.006455, allocations: 207.7 kB / 347.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.006517, allocations: 51.77 kB / 347.1 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.006568, allocations: 59.8 kB / 347.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.006917, allocations: 350.9 kB / 347.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00692, allocations: 0 / 347.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006921, allocations: 4 kB / 347.5 MB, free: 1.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006927, allocations: 0 / 347.5 MB, free: 1.711 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005147/0.007441, allocations: 0.5847 MB / 348.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.007474, allocations: 12.03 kB / 348.1 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.007531, allocations: 32.8 kB / 348.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.007718, allocations: 211.6 kB / 348.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00773, allocations: 8.375 kB / 348.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.007746, allocations: 16.12 kB / 348.4 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.007935, allocations: 130.3 kB / 348.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.007943, allocations: 0 / 348.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.007956, allocations: 8 kB / 348.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.007964, allocations: 3.938 kB / 348.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.008074, allocations: 67.95 kB / 348.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.008627, allocations: 495.1 kB / 349.1 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.00876, allocations: 63.27 kB / 349.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.008811, allocations: 39.75 kB / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.008854, allocations: 7.984 kB / 349.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.008878, allocations: 41.39 kB / 349.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.00888, allocations: 0 / 349.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005354/0.009415, allocations: 237 kB / 349.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.009443, allocations: 51.41 kB / 349.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.009634, allocations: 292.3 kB / 349.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.009647, allocations: 29.7 kB / 349.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.009738, allocations: 206.9 kB / 350 MB, free: 15.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.009763, allocations: 39.69 kB / 350.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.009811, allocations: 39.36 kB / 350.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.009937, allocations: 0.5078 MB / 350.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.009977, allocations: 16 kB / 350.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.01004, allocations: 70.34 kB / 350.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01015, allocations: 110.3 kB / 350.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01015, allocations: 0 / 350.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001704/0.01032, allocations: 133.4 kB / 350.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01033, allocations: 4 kB / 350.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01034, allocations: 0 / 350.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01035, allocations: 4 kB / 350.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01047, allocations: 31.97 kB / 351 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01048, allocations: 4 kB / 351 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.01053, allocations: 20.12 kB / 351 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.01054, allocations: 4 kB / 351 MB, free: 13.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.01063, allocations: 172.4 kB / 351.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.01066, allocations: 27.86 kB / 351.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.01086, allocations: 130.7 kB / 351.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01087, allocations: 0 / 351.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01087, allocations: 3.938 kB / 351.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01087, allocations: 4 kB / 351.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.01119, allocations: 432.6 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01119, allocations: 4 kB / 351.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.01125, allocations: 19.98 kB / 351.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01125, allocations: 0 / 351.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01126, allocations: 7.938 kB / 351.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01126, allocations: 0 / 351.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01126, allocations: 3.984 kB / 351.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.01142, allocations: 263.1 kB / 352 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.01146, allocations: 31.95 kB / 352.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01148, allocations: 8 kB / 352.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.01155, allocations: 7.984 kB / 352.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.01159, allocations: 11.92 kB / 352.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.01159, allocations: 4 kB / 352.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01171, allocations: 213.1 kB / 352.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01171, allocations: 0 / 352.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.01197, allocations: 83.8 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007973/0.01277, allocations: 402 kB / 352.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.01294, allocations: 71.53 kB / 352.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01294, allocations: 0 / 352.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.01299, allocations: 39.59 kB / 352.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.01328, allocations: 53.83 kB / 352.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.01404, allocations: 402.2 kB / 353.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.842e-05/0.01409, allocations: 79.97 kB / 353.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.824e-05/0.01416, allocations: 33.41 kB / 353.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.01421, allocations: 20.5 kB / 353.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01421, allocations: 0 / 353.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of Templates: time 0.005195/0.0194, allocations: 3.757 MB / 357.2 MB, free: 7.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7945283090230078]