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.001847/0.001847, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.001982/0.001982, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.616/1.616, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.06286/0.06286, allocations: 8.713 MB / 268.3 MB, free: 4.594 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.563e-06/1.563e-06, allocations: 0 / 340.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.06e-05, allocations: 2.312 kB / 340.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002943/0.002964, allocations: 2.877 MB / 343 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.005247, allocations: 2.073 MB / 345.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.005376, allocations: 7.938 kB / 345.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.005606, allocations: 63.44 kB / 345.1 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.005933, allocations: 154.8 kB / 345.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.006625, allocations: 402.4 kB / 345.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.006906, allocations: 397.9 kB / 346.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.007046, allocations: 67.78 kB / 346.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.007271, allocations: 199.6 kB / 346.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.007445, allocations: 119.7 kB / 346.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.007481, allocations: 24 kB / 346.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.007809, allocations: 243.7 kB / 346.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.007862, allocations: 67.73 kB / 346.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.007957, allocations: 107.8 kB / 346.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.008466, allocations: 0.5023 MB / 347.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008469, allocations: 0 / 347.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00847, allocations: 0 / 347.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.008475, allocations: 4 kB / 347.4 MB, free: 1.105 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.0006938/0.009169, allocations: 0.6434 MB / 348 MB, free: 436 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.009198, allocations: 8.031 kB / 348 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.009412, allocations: 64.67 kB / 348.1 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.00965, allocations: 212.7 kB / 348.3 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.009667, allocations: 20.88 kB / 348.3 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.009714, allocations: 24.38 kB / 348.4 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.01025, allocations: 298.4 kB / 348.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01027, allocations: 4 kB / 348.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.01029, allocations: 8 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.0103, allocations: 4 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.01072, allocations: 181.9 kB / 348.8 MB, free: 15.57 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.001983/0.01271, allocations: 0.9613 MB / 349.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.01303, allocations: 151.3 kB / 350 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.01319, allocations: 71.64 kB / 350 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.01332, allocations: 19.98 kB / 350 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.01336, allocations: 37.33 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.01336, allocations: 0 / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.00191/0.01527, allocations: 0.6523 MB / 350.7 MB, free: 13.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.01531, allocations: 51.41 kB / 350.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.01562, allocations: 285.8 kB / 351.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.01565, allocations: 29.7 kB / 351.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.01583, allocations: 223.3 kB / 351.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.01592, allocations: 87.31 kB / 351.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.01603, allocations: 59.59 kB / 351.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.01633, allocations: 0.5157 MB / 352 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.01653, allocations: 84.61 kB / 352.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.01681, allocations: 174.5 kB / 352.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.01723, allocations: 224.3 kB / 352.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01723, allocations: 0 / 352.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005619/0.0178, allocations: 261.3 kB / 352.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01781, allocations: 11.94 kB / 352.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01782, allocations: 0 / 352.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01784, allocations: 4 kB / 352.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.01813, allocations: 67.95 kB / 352.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.01814, allocations: 7.938 kB / 352.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01827, allocations: 8 kB / 352.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.0183, allocations: 16.14 kB / 352.8 MB, free: 11.37 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.0002383/0.01854, allocations: 188 kB / 353 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.01861, allocations: 31.86 kB / 353 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.01918, allocations: 227.4 kB / 353.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.01919, allocations: 7.938 kB / 353.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.0192, allocations: 0 / 353.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.0192, allocations: 7.938 kB / 353.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.02038, allocations: 0.6136 MB / 353.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02038, allocations: 0 / 353.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.02068, allocations: 59.91 kB / 353.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.02069, allocations: 4 kB / 353.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.02071, allocations: 11.92 kB / 353.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.02072, allocations: 4 kB / 354 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02072, allocations: 0 / 354 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.0215, allocations: 444 kB / 354.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.0216, allocations: 35.83 kB / 354.4 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.02166, allocations: 11.94 kB / 354.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.0218, allocations: 11.94 kB / 354.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.02186, allocations: 11.97 kB / 354.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.02188, allocations: 8 kB / 354.5 MB, free: 9.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.02209, allocations: 212.8 kB / 354.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02209, allocations: 0 / 354.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000503/0.02259, allocations: 115.7 kB / 354.8 MB, free: 9.301 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.0003851/0.02298, allocations: 191 kB / 355 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.02346, allocations: 187.4 kB / 355.2 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02347, allocations: 0 / 355.2 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.02368, allocations: 98.95 kB / 355.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.02409, allocations: 60.95 kB / 355.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.02526, allocations: 0.5609 MB / 355.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.02543, allocations: 150.9 kB / 356 MB, free: 8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.02558, allocations: 33.88 kB / 356.1 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.02567, allocations: 32.48 kB / 356.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02567, allocations: 0 / 356.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of Templates: time 0.01014/0.03581, allocations: 4.212 MB / 360.3 MB, free: 3.797 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: 4.686121776001528]