Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.001441/0.001441, 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.001192/0.001192, 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.9542/0.9542, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.03544/0.03544, allocations: 8.716 MB / 269 MB, free: 4.586 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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.412e-05, allocations: 5.812 kB / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002392/0.002416, allocations: 2.666 MB / 343.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.003363, allocations: 0.7906 MB / 344.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.00347, allocations: 4 kB / 344.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.003585, allocations: 23.72 kB / 344.4 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.00388, allocations: 123 kB / 344.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.004015, allocations: 63.8 kB / 344.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.004226, allocations: 258.5 kB / 344.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004349, allocations: 48.48 kB / 344.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.004534, allocations: 139.7 kB / 345 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004653, allocations: 87.73 kB / 345.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.004683, allocations: 12 kB / 345.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.209e-05/0.004755, allocations: 32 kB / 345.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.004779, allocations: 39.83 kB / 345.1 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.004834, allocations: 79.77 kB / 345.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.005029, allocations: 159.4 kB / 345.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005033, allocations: 3.984 kB / 345.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005034, allocations: 0 / 345.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005038, allocations: 0 / 345.4 MB, free: 3.848 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004538/0.005492, allocations: 0.5325 MB / 345.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.005527, allocations: 8.031 kB / 345.9 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.005684, allocations: 52.72 kB / 346 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.005863, allocations: 174.7 kB / 346.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.005876, allocations: 12.38 kB / 346.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.0059, allocations: 20.38 kB / 346.2 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.006117, allocations: 192.5 kB / 346.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.00613, allocations: 7.922 kB / 346.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.006147, allocations: 12 kB / 346.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.006155, allocations: 8 kB / 346.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.006259, allocations: 95.23 kB / 346.5 MB, free: 2.648 MB / 266.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.00058/0.006839, allocations: 0.6706 MB / 347.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.007007, allocations: 148.8 kB / 347.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.007071, allocations: 65.38 kB / 347.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.007088, allocations: 3.984 kB / 347.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.007106, allocations: 37.39 kB / 347.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.295e-06/0.007108, allocations: 4 kB / 347.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008871/0.007995, allocations: 0.5989 MB / 348 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.00802, allocations: 77.11 kB / 348.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.008135, allocations: 220.5 kB / 348.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.008145, allocations: 25.7 kB / 348.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.008188, allocations: 179.2 kB / 348.5 MB, free: 452 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.008216, allocations: 75.36 kB / 348.6 MB, free: 376 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.008263, allocations: 47.36 kB / 348.6 MB, free: 320 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.00835, allocations: 0.5 MB / 349.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.008424, allocations: 69.23 kB / 349.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.008504, allocations: 104.1 kB / 349.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.008655, allocations: 181.7 kB / 349.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.008656, allocations: 0 / 349.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002083/0.008864, allocations: 211.2 kB / 349.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.008894, allocations: 37.7 kB / 349.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008899, allocations: 0 / 349.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.008913, allocations: 0 / 349.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.009091, allocations: 55.95 kB / 349.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.009099, allocations: 7.938 kB / 349.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.009149, allocations: 11.94 kB / 349.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.009161, allocations: 8 kB / 349.8 MB, free: 15.04 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.000145/0.009306, allocations: 200.9 kB / 350 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.009338, allocations: 23.91 kB / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.009604, allocations: 226.7 kB / 350.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009606, allocations: 0 / 350.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.009611, allocations: 4 kB / 350.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.009617, allocations: 11.95 kB / 350.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.01004, allocations: 0.5074 MB / 350.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01005, allocations: 3.984 kB / 350.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.01019, allocations: 55.91 kB / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01019, allocations: 4 kB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.0102, allocations: 4 kB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01021, allocations: 3.938 kB / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01021, allocations: 0 / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.01052, allocations: 424.6 kB / 351.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.01057, allocations: 27.89 kB / 351.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.01059, allocations: 0 / 351.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.01065, allocations: 15.92 kB / 351.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.0107, allocations: 15.98 kB / 351.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.01071, allocations: 7.984 kB / 351.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.01078, allocations: 167.7 kB / 351.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01078, allocations: 0 / 351.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.01098, allocations: 48 kB / 351.5 MB, free: 13.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001286/0.01111, allocations: 119 kB / 351.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.01134, allocations: 220.6 kB / 351.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01134, allocations: 0 / 351.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.01143, allocations: 144.7 kB / 352 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01168, allocations: 40.17 kB / 352 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.01264, allocations: 484 kB / 352.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01268, allocations: 75.98 kB / 352.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.502e-05/0.01276, allocations: 33.5 kB / 352.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.01281, allocations: 24.48 kB / 352.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01281, allocations: 0 / 352.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of Templates: time 0.004237/0.01705, allocations: 2.387 MB / 355 MB, free: 9.621 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.76615697494708]