Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.000928/0.000928, 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.0008998/0.0008998, allocations: 173 kB / 23.49 MB, free: 1.059 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.9046/0.9046, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.03436/0.03436, allocations: 8.713 MB / 269 MB, free: 4.582 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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.934e-05, allocations: 4.984 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002417/0.002436, allocations: 2.916 MB / 343.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.004392, allocations: 2.075 MB / 345.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004512, allocations: 7.938 kB / 345.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.004724, allocations: 59.48 kB / 345.9 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.004998, allocations: 154.8 kB / 346.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.005548, allocations: 410.3 kB / 346.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.005794, allocations: 393.9 kB / 346.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.00592, allocations: 57.61 kB / 346.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.006116, allocations: 203.6 kB / 347.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006262, allocations: 115.7 kB / 347.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.00629, allocations: 28 kB / 347.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.006534, allocations: 251.6 kB / 347.5 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.006578, allocations: 67.7 kB / 347.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.006648, allocations: 107.8 kB / 347.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.007027, allocations: 418.7 kB / 348.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00703, allocations: 0 / 348.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007031, allocations: 0 / 348.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007036, allocations: 4 kB / 348.1 MB, free: 1.137 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005188/0.007555, allocations: 0.6242 MB / 348.7 MB, free: 488 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007589, allocations: 16.03 kB / 348.7 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.007753, allocations: 60.69 kB / 348.8 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.007957, allocations: 220.7 kB / 349 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.007972, allocations: 12.88 kB / 349 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.008007, allocations: 24.38 kB / 349 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.008316, allocations: 259.1 kB / 349.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008328, allocations: 0 / 349.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.008348, allocations: 12 kB / 349.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.008357, allocations: 8 kB / 349.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.008537, allocations: 114.9 kB / 349.4 MB, free: 15.71 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.009582, allocations: 0.8677 MB / 350.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.009746, allocations: 103.3 kB / 350.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.009813, allocations: 51.61 kB / 350.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.009882, allocations: 15.98 kB / 350.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.009906, allocations: 45.33 kB / 350.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.009908, allocations: 0 / 350.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.000929/0.01084, allocations: 0.5123 MB / 351 MB, free: 14.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.01086, allocations: 51.41 kB / 351.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.01102, allocations: 253.8 kB / 351.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.01103, allocations: 29.7 kB / 351.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.01112, allocations: 223.3 kB / 351.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.01116, allocations: 79.28 kB / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.01122, allocations: 51.58 kB / 351.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01132, allocations: 0.5079 MB / 352.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.0114, allocations: 44.62 kB / 352.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.0115, allocations: 140.3 kB / 352.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01166, allocations: 148.5 kB / 352.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01166, allocations: 4 kB / 352.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002528/0.01192, allocations: 197.2 kB / 352.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01193, allocations: 11.94 kB / 352.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.01194, allocations: 4.156 kB / 352.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01196, allocations: 4 kB / 352.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.01217, allocations: 67.89 kB / 352.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.01218, allocations: 4 kB / 352.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.01225, allocations: 8 kB / 352.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01227, allocations: 19.98 kB / 352.8 MB, free: 12.07 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (28): * Single equations (assignments): 28 * 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 0.0001455/0.01241, allocations: 171.9 kB / 353 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.01245, allocations: 23.86 kB / 353 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.01272, allocations: 186.8 kB / 353.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01272, allocations: 3.938 kB / 353.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.01273, allocations: 0 / 353.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01273, allocations: 4 kB / 353.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.01325, allocations: 0.5167 MB / 353.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01326, allocations: 7.938 kB / 353.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.0134, allocations: 55.91 kB / 353.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.0134, allocations: 4.031 kB / 353.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01342, allocations: 11.94 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01342, allocations: 0 / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01342, allocations: 4.031 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.01373, allocations: 355.9 kB / 354.2 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.01378, allocations: 35.83 kB / 354.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.01381, allocations: 11.88 kB / 354.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.01388, allocations: 8 kB / 354.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.01393, allocations: 15.97 kB / 354.2 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.01394, allocations: 12.02 kB / 354.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.829e-05/0.01403, allocations: 188.8 kB / 354.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01403, allocations: 0 / 354.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.01431, allocations: 115.7 kB / 354.5 MB, free: 10.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (22): * Single equations (assignments): 22 * 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.0002328/0.01455, allocations: 190.9 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.01476, allocations: 131.2 kB / 354.8 MB, free: 9.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01476, allocations: 0 / 354.8 MB, free: 9.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.01484, allocations: 67.53 kB / 354.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01509, allocations: 47.8 kB / 355 MB, free: 9.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/0.01609, allocations: 0.561 MB / 355.5 MB, free: 9.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.01614, allocations: 88.31 kB / 355.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.655e-05/0.01622, allocations: 41.88 kB / 355.6 MB, free: 9.086 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.01628, allocations: 28.48 kB / 355.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01628, allocations: 0 / 355.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of Templates: time 0.00565/0.02193, allocations: 4.207 MB / 359.9 MB, free: 4.926 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.710533005883917]