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.0009352/0.0009352, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009383/0.0009383, allocations: 169 kB / 23.27 MB, free: 1.223 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.9025/0.9025, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.03486/0.03486, allocations: 8.726 MB / 269 MB, free: 4.352 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 2.144e-06/2.144e-06, allocations: 4 kB / 341.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.663e-05, allocations: 6.25 kB / 341.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002394/0.00241, allocations: 2.904 MB / 344.2 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004167, allocations: 2.048 MB / 346.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004282, allocations: 4 kB / 346.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.004489, allocations: 63.48 kB / 346.3 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.004738, allocations: 154.8 kB / 346.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.005215, allocations: 410.3 kB / 346.9 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.005464, allocations: 397.9 kB / 347.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.005588, allocations: 61.61 kB / 347.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.005777, allocations: 203.5 kB / 347.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.00592, allocations: 123.6 kB / 347.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.005945, allocations: 24 kB / 347.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.006179, allocations: 243.6 kB / 347.9 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.006223, allocations: 63.75 kB / 348 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.006289, allocations: 111.7 kB / 348.1 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.006635, allocations: 418.7 kB / 348.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.006637, allocations: 0 / 348.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006638, allocations: 4 kB / 348.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006641, allocations: 0 / 348.5 MB, free: 0.543 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.0004934/0.007135, allocations: 0.6319 MB / 349.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.007171, allocations: 8.031 kB / 349.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.007315, allocations: 60.69 kB / 349.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.007511, allocations: 220.5 kB / 349.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.007525, allocations: 16.88 kB / 349.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.007553, allocations: 20.38 kB / 349.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.007809, allocations: 247.1 kB / 349.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.007819, allocations: 3.938 kB / 349.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.007836, allocations: 15.94 kB / 349.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.007843, allocations: 4 kB / 349.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.007969, allocations: 97.42 kB / 349.8 MB, free: 15.15 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.001004/0.008973, allocations: 0.8253 MB / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.009109, allocations: 99.14 kB / 350.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.009152, allocations: 39.78 kB / 350.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.009224, allocations: 23.98 kB / 350.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.009245, allocations: 33.39 kB / 350.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.009247, allocations: 0 / 350.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007452/0.009992, allocations: 474.3 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.01002, allocations: 55.41 kB / 351.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.01015, allocations: 253.7 kB / 351.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.01016, allocations: 29.7 kB / 351.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.01025, allocations: 215.3 kB / 351.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.01029, allocations: 79.3 kB / 351.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.01035, allocations: 59.56 kB / 352 MB, free: 12.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01048, allocations: 0.504 MB / 352.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.01054, allocations: 44.59 kB / 352.5 MB, free: 12.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.01062, allocations: 126.5 kB / 352.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.01075, allocations: 144.2 kB / 352.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01075, allocations: 0 / 352.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001944/0.01095, allocations: 181.4 kB / 352.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.01096, allocations: 8 kB / 353 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01097, allocations: 0 / 353 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01098, allocations: 7.938 kB / 353 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01112, allocations: 71.89 kB / 353 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.01113, allocations: 0 / 353 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.01118, allocations: 12 kB / 353 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01119, allocations: 4.156 kB / 353 MB, free: 11.67 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.0001102/0.0113, allocations: 176.5 kB / 353.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.01133, allocations: 27.86 kB / 353.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.01153, allocations: 175.3 kB / 353.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01154, allocations: 7.922 kB / 353.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01154, allocations: 7.938 kB / 353.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01154, allocations: 0 / 353.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.01199, allocations: 476.8 kB / 353.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01199, allocations: 0 / 353.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.01212, allocations: 63.95 kB / 354 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01212, allocations: 0 / 354 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.01214, allocations: 12 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01215, allocations: 3.938 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01215, allocations: 3.938 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.01241, allocations: 328 kB / 354.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.01246, allocations: 39.86 kB / 354.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.01248, allocations: 16 kB / 354.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.01254, allocations: 11.94 kB / 354.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01258, allocations: 11.97 kB / 354.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.01259, allocations: 4 kB / 354.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.01267, allocations: 184.7 kB / 354.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01267, allocations: 0 / 354.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01293, allocations: 115.7 kB / 354.7 MB, free: 9.953 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.0002123/0.01314, allocations: 194.9 kB / 354.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.0133, allocations: 121.7 kB / 355 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0133, allocations: 0 / 355 MB, free: 9.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.01336, allocations: 59.58 kB / 355 MB, free: 9.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01358, allocations: 53.02 kB / 355.1 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/0.01448, allocations: 0.5608 MB / 355.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.01455, allocations: 88.31 kB / 355.7 MB, free: 8.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.617e-05/0.01462, allocations: 33.92 kB / 355.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01475, allocations: 130.2 kB / 355.9 MB, free: 8.66 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01475, allocations: 3.938 kB / 355.9 MB, free: 8.656 MB / 282.7 MB Notification: Performance of Templates: time 0.006229/0.02098, allocations: 4.777 MB / 360.7 MB, free: 3.973 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.6165272938087583]