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.001014/0.001014, allocations: 88.22 kB / 19.65 MB, free: 272 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.00114/0.00114, allocations: 173 kB / 23.02 MB, free: 1.543 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.9256/0.9256, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.03465/0.03465, allocations: 8.717 MB / 268.7 MB, free: 4.52 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.232e-06/1.232e-06, allocations: 0 / 340.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.743e-05, allocations: 4.984 kB / 340.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.00233/0.002348, allocations: 2.916 MB / 343.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.004059, allocations: 2.079 MB / 345.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.004172, allocations: 3.938 kB / 345.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.004386, allocations: 63.48 kB / 345.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.004663, allocations: 158.8 kB / 346.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.005163, allocations: 410.3 kB / 346.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.005398, allocations: 397.9 kB / 346.9 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005523, allocations: 57.61 kB / 346.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.005709, allocations: 199.6 kB / 347.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.005852, allocations: 127.6 kB / 347.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.005883, allocations: 24 kB / 347.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.006114, allocations: 243.7 kB / 347.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.006158, allocations: 63.75 kB / 347.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.006227, allocations: 119.6 kB / 347.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.006579, allocations: 414.7 kB / 348.1 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006581, allocations: 0 / 348.1 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006581, allocations: 4 kB / 348.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.006585, allocations: 0 / 348.1 MB, free: 0.7734 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.0005008/0.007086, allocations: 0.6203 MB / 348.7 MB, free: 120 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.007117, allocations: 16.02 kB / 348.7 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.00726, allocations: 60.69 kB / 348.8 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.007487, allocations: 220.7 kB / 349 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.007504, allocations: 16.88 kB / 349 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.00754, allocations: 24.38 kB / 349 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.007846, allocations: 255.1 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.007856, allocations: 0 / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.007873, allocations: 19.94 kB / 349.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.007882, allocations: 4 kB / 349.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.008067, allocations: 114.9 kB / 349.4 MB, free: 15.35 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.001047/0.009115, allocations: 0.8599 MB / 350.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.009273, allocations: 107.3 kB / 350.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.009337, allocations: 47.64 kB / 350.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.009402, allocations: 19.98 kB / 350.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.009425, allocations: 41.33 kB / 350.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.009426, allocations: 0 / 350.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009459/0.01037, allocations: 0.5047 MB / 351 MB, free: 13.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.0104, allocations: 55.41 kB / 351.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.01054, allocations: 253.8 kB / 351.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.01056, allocations: 29.7 kB / 351.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.01064, allocations: 219.3 kB / 351.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.01068, allocations: 83.27 kB / 351.6 MB, free: 13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.01074, allocations: 59.58 kB / 351.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01086, allocations: 0.4962 MB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.01094, allocations: 52.61 kB / 352.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.01104, allocations: 138.5 kB / 352.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.01132, allocations: 149.7 kB / 352.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01132, allocations: 4 kB / 352.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002328/0.01156, allocations: 196.2 kB / 352.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01157, allocations: 19.95 kB / 352.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01158, allocations: 0 / 352.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01159, allocations: 4 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01175, allocations: 75.89 kB / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.01176, allocations: 4 kB / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.01182, allocations: 8 kB / 352.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01183, allocations: 11.98 kB / 352.8 MB, free: 11.71 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.0001119/0.01194, allocations: 176.5 kB / 353 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01198, allocations: 27.86 kB / 353 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.01222, allocations: 178.8 kB / 353.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01223, allocations: 11.86 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01223, allocations: 4 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01223, allocations: 0 / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.01273, allocations: 0.5089 MB / 353.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01273, allocations: 4 kB / 353.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.01287, allocations: 63.92 kB / 353.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01287, allocations: 0 / 353.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01289, allocations: 11.94 kB / 353.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01289, allocations: 0 / 353.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01289, allocations: 0 / 353.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.0132, allocations: 355 kB / 354.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.01325, allocations: 39.83 kB / 354.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.01327, allocations: 11.88 kB / 354.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.01334, allocations: 4 kB / 354.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.01338, allocations: 20 kB / 354.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01339, allocations: 8 kB / 354.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.108e-05/0.01348, allocations: 188.8 kB / 354.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01348, allocations: 0 / 354.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01375, allocations: 115.7 kB / 354.5 MB, free: 9.91 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.0002192/0.01397, allocations: 190.9 kB / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.01417, allocations: 127.5 kB / 354.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01417, allocations: 0 / 354.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.01424, allocations: 71.53 kB / 354.9 MB, free: 9.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01448, allocations: 44.84 kB / 355 MB, free: 9.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.01544, allocations: 0.565 MB / 355.5 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.01549, allocations: 84.31 kB / 355.6 MB, free: 8.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.01556, allocations: 37.88 kB / 355.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.01562, allocations: 32.48 kB / 355.7 MB, free: 8.699 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01562, allocations: 3.938 kB / 355.7 MB, free: 8.695 MB / 282.7 MB Notification: Performance of Templates: time 0.005827/0.02145, allocations: 4.213 MB / 359.9 MB, free: 4.562 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.886594831943512]